|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.umd.cfar.lamp.viper.util.EnumIterator
An Iterator wrapper for a java Enumeration.
| Constructor Summary | |
EnumIterator(java.util.Enumeration enum)
Constructs a new Iterator wrapping the given enumeration. |
|
| Method Summary | |
boolean |
hasNext()
Tests to see if more elements remain. |
java.lang.Object |
next()
Gets the next element of the enumeration. |
void |
remove()
Enumerations do not support removal. |
| 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 enum)
enum - the enumeration to wrap| Method Detail |
public void remove()
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationExceptionpublic boolean hasNext()
hasNext in interface java.util.Iteratorenum.hasMoreElements()public java.lang.Object next()
next in interface java.util.Iteratorenum.nextElement()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||