public class IndexPeekingIterator<T> extends DelegatingUnaryIterator<T>
iterator
Constructor and Description |
---|
IndexPeekingIterator(java.util.Iterator<T> iterator,
java.util.function.ObjIntConsumer<? super T> action) |
Modifier and Type | Method and Description |
---|---|
T |
next() |
hasNext, remove