|
Release Planner v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used for iterating over TwoList lists (A or B). Implementing classes should provide appropriately typecast accessor methods as follows:
// gets the current element public T get() { return (T)getTwoList(); } // moves to the next node then gets it public T next() { goNext(); return get(); } // moves to the previous node then gets it public T previous() { goPrevious(); return get(); }
Method Summary | |
TwoList |
getTwoList()
Return the current element. |
void |
goNext()
Moves to the next element. |
void |
goPrevious()
Moves to the previous element. |
boolean |
hasNext()
Tests if there is any next element. |
boolean |
hasPrevious()
Tests if there is any previous element. |
boolean |
isReset()
Tests if this iterator is set to the starting position. |
void |
reset()
Return the iterator to the starting position. |
Method Detail |
public void reset()
public boolean isReset()
public boolean hasNext()
public void goNext()
public boolean hasPrevious()
public void goPrevious()
public TwoList getTwoList()
|
Release Planner v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |