Iterator<E>
LineIteratorImpl
public abstract class AbstractIterator<E> extends Object implements Iterator<E>
Constructor | Description |
---|---|
AbstractIterator() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract E |
advance() |
|
boolean |
hasNext() |
|
protected boolean |
isIterating() |
|
E |
next() |
|
E |
peek() |
Returns the next element in the iterator, if one exists.
|
void |
remove() |
forEachRemaining
protected E next
protected abstract E advance()
public E peek()
protected boolean isIterating()