ELEMENTTYPE - The type of elements to iterate.public class IterableIterator<ELEMENTTYPE> extends Object implements IIterableIterator<ELEMENTTYPE>
| Constructor and Description |
|---|
IterableIterator(ELEMENTTYPE[] aCont) |
IterableIterator(Iterable<ELEMENTTYPE> aCont) |
IterableIterator(Iterator<ELEMENTTYPE> aIter) |
| Modifier and Type | Method and Description |
|---|---|
static <ELEMENTTYPE> |
createEmpty() |
boolean |
hasNext() |
Iterator<ELEMENTTYPE> |
iterator() |
ELEMENTTYPE |
next() |
void |
remove() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitwithFilter, withMappercontainsAny, containsNone, containsOnly, findAll, findAllInstanceOf, findAllMapped, findAllMapped, findAllMapped, findFirst, findFirst, findFirstMapped, findFirstMapped, forEach, forEach, forEachBreakable, getIteratorCount, getIteratorCountforEach, spliteratorforEachRemainingpublic IterableIterator(@Nonnull ELEMENTTYPE[] aCont)
public IterableIterator(@Nonnull Iterable<ELEMENTTYPE> aCont)
public IterableIterator(@Nonnull Iterator<ELEMENTTYPE> aIter)
public final boolean hasNext()
hasNext in interface Iterator<ELEMENTTYPE>@Nullable public final ELEMENTTYPE next()
next in interface Iterator<ELEMENTTYPE>public final void remove()
remove in interface Iterator<ELEMENTTYPE>@Nonnull public final Iterator<ELEMENTTYPE> iterator()
iterator in interface IIterableIterator<ELEMENTTYPE>iterator in interface Iterable<ELEMENTTYPE>@Nonnull public static <ELEMENTTYPE> IIterableIterator<ELEMENTTYPE> createEmpty()
Copyright © 2014–2017 Philip Helger. All rights reserved.