T - public class EnumerationIterator<T> extends Object implements Iterator<T>, Iterable<T>
| Constructor and Description |
|---|
EnumerationIterator(Enumeration enumeration)
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.
|
Iterator<T> |
iterator() |
T |
next()
Move to next element in the array.
|
void |
remove()
Unimplemented.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingforEach, spliteratorpublic EnumerationIterator(Enumeration enumeration)
enumeration - The Enumeration to wrap.Copyright © 2016. All Rights Reserved.