public class EnumerationIterator<E> extends Object implements Iterator<E>
Iterator
backed by an Enumeration
.Constructor and Description |
---|
EnumerationIterator(Enumeration<E> enumeration)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
E |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public EnumerationIterator(Enumeration<E> enumeration)
enumeration
- Enumeration
.Copyright © 2005–2016. All rights reserved.