Package com.day.util
Class EnumerationIterator
- java.lang.Object
-
- com.day.util.EnumerationIterator
-
-
Constructor Summary
Constructors Constructor Description EnumerationIterator(Enumeration delegatee)Constructs anEnuerationIterator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Objectnext()voidremove()Always throwsUnsupportedOperationException.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
EnumerationIterator
public EnumerationIterator(Enumeration delegatee)
Constructs anEnuerationIterator- Parameters:
delegatee- the underlaying enumeration
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator- See Also:
Iterator.hasNext()
-
next
public Object next()
- Specified by:
nextin interfaceIterator- See Also:
Iterator.next()
-
remove
public void remove()
Always throwsUnsupportedOperationException.- Specified by:
removein interfaceIterator- See Also:
Iterator.remove()
-
-