|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReadIteratorI<T>
An iterator that traverses a collection of objects of type T without modifying it. When an iterator traverses a list, the list behaves as if it is circular with a dummy element between the last and first elements.
Method Summary | |
---|---|
boolean |
atEnd()
|
boolean |
atStart()
|
T |
currentItem()
|
void |
first()
Moves cursor to first element of the collection. |
void |
next()
Moves cursor to next element of the collection. |
Method Detail |
---|
void first()
void next()
boolean atEnd()
boolean atStart()
T currentItem()
IteratorException
- if the cursor is pointing to the dummy element.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |