Iterator<E>LineIteratorImplpublic 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() |
forEachRemainingprotected E next
protected abstract E advance()
public E peek()
protected boolean isIterating()