|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.util.iterator.EnumerationIterator<T>
T - The element type of the enumeration and the iteratorpublic class EnumerationIterator<T>
An Iterator that iterates over the elements of an Enumeration.
| Constructor Summary | |
|---|---|
EnumerationIterator(java.util.Enumeration<T> e)
|
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
T |
next()
|
void |
remove()
Since Enumerations don't support element removal, this method always throws
an UnsupportedOperationException. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumerationIterator(java.util.Enumeration<T> e)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public T next()
next in interface java.util.Iterator<T>public void remove()
Enumerations don't support element removal, this method always throws
an UnsupportedOperationException.
remove in interface java.util.Iterator<T>Iterator.remove()
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||