public class EnumerationIterator
extends java.lang.Object
implements java.util.Iterator
| Modifier and Type | Field and Description |
|---|---|
private java.util.Enumeration |
enumeration
The enumeration to iterate over.
|
| Constructor and Description |
|---|
EnumerationIterator(java.util.Enumeration enumer)
Creates a new iteratorwrapper instance for the specified
Enumeration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Check to see if there is another element in the array.
|
java.lang.Object |
next()
Move to next element in the array.
|
void |
remove()
Unimplemented.
|
private final java.util.Enumeration enumeration
public EnumerationIterator(java.util.Enumeration enumer)
enumer - The Enumeration to wrap.public java.lang.Object next()
next in interface java.util.Iteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iterator