public class ObjPeek<T> extends LsaIterator<T>
| Constructor and Description |
|---|
ObjPeek(java.util.Iterator<? extends T> iterator,
Consumer<? super T> action) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
nextIteration() |
next, removepublic boolean hasNext()
public T nextIteration()
nextIteration in class LsaIterator<T>