|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SequenceIterator<E>
An iterator of a Sequence that permits bidirectional traversal.
Sequence| Method Summary | |
|---|---|
boolean |
hasPrevious()
Returns true if this iterator has a previous element that can be retrieved, false
otherwise. |
E |
previous()
Returns the previous element from this iterator. |
| Methods inherited from interface org.jtiger.framework.Positionable |
|---|
getPosition |
| Methods inherited from interface java.util.Iterator |
|---|
hasNext, next, remove |
| Method Detail |
|---|
boolean hasPrevious()
true if this iterator has a previous element that can be retrieved, false
otherwise.
true if this iterator has a previous element that can be retrieved, false
otherwise.
E previous()
throws NoSuchElementException
NoSuchElementException - If there is no previous element in this iterator. It is guaranteed that if
hasPrevious() has returned true, then this exception will not be thrown. Conversely, if
hasPrevious() has returned false, then this exception will certainly be thrown.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||