E
- the type of element produced.public class EnumerationIterator<E> extends Object implements Iterator<E>
Enumeration
into an Iterator
.Modifier and Type | Method and Description |
---|---|
static <E> Iterator<E> |
fromEnumeration(Enumeration<? extends E> enumeration) |
boolean |
hasNext() |
E |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public static <E> Iterator<E> fromEnumeration(Enumeration<? extends E> enumeration)
Copyright © 2002-2017 Atlassian. All Rights Reserved.