public class EnumerationIterator<T> extends Object implements Iterator<T>
Enumeration
to follow the interface of Iterator
.Constructor and Description |
---|
EnumerationIterator(Enumeration<T> enumeration) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public EnumerationIterator(Enumeration<T> enumeration)
Copyright © 2020 Pivotal Software. All rights reserved.