E
- the type of iterated elements.public static final class CloseableIterator.IteratorAdapter<E> extends Object implements CloseableIterator<E>
CloseableIterator.IteratorAdapter<E>
EMPTY_INSTANCE
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
forEachRemaining(java.util.function.Consumer<? super E> action) |
boolean |
hasNext() |
E |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adapterForIterator, empty
public void forEachRemaining(java.util.function.Consumer<? super E> action)
forEachRemaining
in interface Iterator<E>
public void close()
close
in interface AutoCloseable
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.