| Modifier and Type | Method and Description |
|---|---|
| public boolean | hasNext()
Redeclares org. |
| public boolean | Returns: true if there is a previous element, false otherwiseDetermine if there is a previous element in this sequence. |
| public int | next()
Redeclares org. |
| public int | peekNext()
Redeclares org. |
| public int | Returns: the previous elementObserve the previous element in the sequence without moving the iterator. |
| public int |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Redeclares org. Doc from org. Determine if there is another element in this sequence.
| |
| hasPrevious | back to summary |
|---|---|
| public boolean hasPrevious() Determine if there is a previous element in this sequence.
| |
| next | back to summary |
|---|---|
| public int next() throws NoSuchElementException Redeclares org. Doc from org. Get the next element in the sequence.
| |
| peekNext | back to summary |
|---|---|
| public int peekNext() throws NoSuchElementException Redeclares org. Doc from org. Observe the next element in the sequence without moving the iterator.
| |
| peekPrevious | back to summary |
|---|---|
| public int peekPrevious() throws NoSuchElementException Observe the previous element in the sequence without moving the iterator.
| |
| previous | back to summary |
|---|---|
| public int previous() throws NoSuchElementException Get the previous element in the sequence.
| |