Build 1.0_r1(from source)

java.lang
Class TwoEnumerationsInOne

java.lang.Object
  extended by java.lang.TwoEnumerationsInOne
All Implemented Interfaces:
Enumeration<URL>

 class TwoEnumerationsInOne
extends Object
implements Enumeration<URL>


Constructor Summary
TwoEnumerationsInOne(Enumeration<URL> first, Enumeration<URL> second)
           
 
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
 

Constructor Detail

TwoEnumerationsInOne

public TwoEnumerationsInOne(Enumeration<URL> first,
                            Enumeration<URL> second)
Method Detail

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()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature