T - element typeprivate static class Linq4j.EnumeratorIterator<T> extends Object implements Iterator<T>, AutoCloseable
Enumerator.| Modifier and Type | Field and Description |
|---|---|
private Enumerator<T> |
enumerator |
(package private) Boolean |
hasNext |
| Constructor and Description |
|---|
EnumeratorIterator(Enumerator<T> enumerator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprivate final Enumerator<T> enumerator
Boolean hasNext
EnumeratorIterator(Enumerator<T> enumerator)
public void close()
close in interface AutoCloseableCopyright © 2012–2023 The Apache Software Foundation. All rights reserved.