|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.util.leap.EnumIterator
public class EnumIterator
Implementation of an Iterator constructed by an
Enumeration.
| Constructor Summary | |
|---|---|
EnumIterator(java.util.Enumeration enumeration)
Constructor declaration |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Checks whether the iterator can scan further by looking at the underlying Enumeration. |
java.lang.Object |
next()
Retrieves the next element in the collection scanned by this iterator, forwarding the request to the underlying Enumeration. |
void |
remove()
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 |
| Constructor Detail |
|---|
public EnumIterator(java.util.Enumeration enumeration)
| Method Detail |
|---|
public boolean hasNext()
Enumeration.
hasNext in interface java.util.IteratorhasMoreElements()
method of the underlying Enumeration..public java.lang.Object next()
Enumeration.
next in interface java.util.IteratornextElement() of
the underlying Enumeration.public void remove()
remove in interface java.util.Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||