|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.janino.util.iterator.EnumerationIterator
public class EnumerationIterator
An Iterator that iterates over the elements of an
Enumeration.
| Constructor Summary | |
|---|---|
EnumerationIterator(java.util.Enumeration e)
|
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
java.lang.Object |
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 e)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
Enumerations don't support element removal, this method always throws
an UnsupportedOperationException.
remove in interface java.util.IteratorIterator.remove()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||