java.lang
Class TwoEnumerationsInOne
java.lang.Object
java.lang.TwoEnumerationsInOne
- All Implemented Interfaces:
- Enumeration<URL>
class TwoEnumerationsInOne
- extends Object
- implements Enumeration<URL>
|
Method Summary |
boolean |
hasMoreElements()
Returns if this Enumeration has more elements. |
URL |
nextElement()
Returns the next element in this Enumeration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TwoEnumerationsInOne
public TwoEnumerationsInOne(Enumeration<URL> first,
Enumeration<URL> second)
hasMoreElements
public boolean hasMoreElements()
- Description copied from interface:
Enumeration
- Returns if this Enumeration has more elements.
- Specified by:
hasMoreElements in interface Enumeration<URL>
- Returns:
- true if there are more elements, false otherwise
- See Also:
Enumeration.nextElement()
nextElement
public URL nextElement()
- Description copied from interface:
Enumeration
- Returns the next element in this Enumeration.
- Specified by:
nextElement in interface Enumeration<URL>
- Returns:
- the next element in this Enumeration
- See Also:
Enumeration.hasMoreElements()
Please submit a feedback, bug or feature