| Modifier and Type | Field and Description |
|---|---|
| private final Enumeration | enumeration
The enumeration to iterate over. |
| Access | Constructor and Description |
|---|---|
| public | EnumerationIterator(Enumeration<T>
The Enumeration to wrap. enumer)Creates a new iteratorwrapper instance for the specified Enumeration. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: Whether there is another element.Implements java. |
| public T | Returns: The next object in the array.Implements java. |
| public void |
| enumeration | back to summary |
|---|---|
| private final Enumeration<T> enumeration The enumeration to iterate over. | |
| EnumerationIterator | back to summary |
|---|---|
| public EnumerationIterator(Enumeration<T> enumer) Creates a new iteratorwrapper instance for the specified Enumeration.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Check to see if there is another element in the array.
| |
| next | back to summary |
|---|---|
| public T next() Implements java. Move to next element in the array.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Unimplemented. No analogy in Enumeration | |