|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javatools.util.IteratorToEnumeration
Uses an Iterator object as an Enumeration object.
| Constructor Summary | |
IteratorToEnumeration(java.util.Iterator it)
Creates a new object. |
|
| Method Summary | |
boolean |
hasMoreElements()
Checks if there are more elements in this iterator. |
java.lang.Object |
nextElement()
Returns the next element of the iterator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IteratorToEnumeration(java.util.Iterator it)
it - The iterator to use.| Method Detail |
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationtrue: yes, there are;
false: no, there aren't.public java.lang.Object nextElement()
nextElement in interface java.util.Enumeration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||