Package jade.util.leap
Class EnumIterator
- java.lang.Object
-
- jade.util.leap.EnumIterator
-
-
Constructor Summary
Constructors Constructor Description EnumIterator(Enumeration enumeration)Constructor declaration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Checks whether the iterator can scan further by looking at the underlyingEnumeration.Objectnext()Retrieves the next element in the collection scanned by this iterator, forwarding the request to the underlyingEnumeration.voidremove()Remove the element pointed to by this iterator.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
EnumIterator
public EnumIterator(Enumeration enumeration)
Constructor declaration
-
-
Method Detail
-
hasNext
public boolean hasNext()
Checks whether the iterator can scan further by looking at the underlyingEnumeration.
-
next
public Object next()
Retrieves the next element in the collection scanned by this iterator, forwarding the request to the underlyingEnumeration.
-
-