ELEMENTTYPE - The element type to be enumerated.public final class IterableIteratorFromEnumeration<ELEMENTTYPE> extends Object implements IIterableIterator<ELEMENTTYPE>
| Constructor and Description |
|---|
IterableIteratorFromEnumeration(Enumeration<? extends ELEMENTTYPE> aEnum) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Iterator<ELEMENTTYPE> |
iterator() |
ELEMENTTYPE |
next() |
void |
remove() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorforEachRemainingpublic IterableIteratorFromEnumeration(@Nullable Enumeration<? extends ELEMENTTYPE> aEnum)
public boolean hasNext()
hasNext in interface Iterator<ELEMENTTYPE>@Nullable public ELEMENTTYPE next()
IIterableIteratornext in interface IIterableIterator<ELEMENTTYPE>next in interface Iterator<ELEMENTTYPE>null or non-null.@UnsupportedOperation public void remove()
remove in interface Iterator<ELEMENTTYPE>@Nonnull public Iterator<ELEMENTTYPE> iterator()
iterator in interface Iterable<ELEMENTTYPE>Copyright © 2014–2016 Philip Helger. All rights reserved.