|
Release Planner v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rp.util.TwoList.IteratorDefault | +--rp.util.TwoList.IteratorB
An implementation of the Iterator interface for B-lists.
Field Summary | |
protected TwoList |
head
|
protected TwoList |
node
|
Constructor Summary | |
protected |
TwoList.IteratorB(TwoList node)
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected TwoList head
protected TwoList node
Constructor Detail |
protected TwoList.IteratorB(TwoList node)
Method Detail |
public boolean hasNext()
TwoList.Iterator
hasNext
in interface TwoList.Iterator
hasNext
in class rp.util.TwoList.IteratorDefault
public void goNext()
TwoList.Iterator
goNext
in interface TwoList.Iterator
goNext
in class rp.util.TwoList.IteratorDefault
public boolean hasPrevious()
TwoList.Iterator
hasPrevious
in interface TwoList.Iterator
hasPrevious
in class rp.util.TwoList.IteratorDefault
public void goPrevious()
TwoList.Iterator
goPrevious
in interface TwoList.Iterator
goPrevious
in class rp.util.TwoList.IteratorDefault
public void reset()
TwoList.Iterator
reset
in interface TwoList.Iterator
public boolean isReset()
TwoList.Iterator
isReset
in interface TwoList.Iterator
public TwoList getTwoList()
TwoList.Iterator
getTwoList
in interface TwoList.Iterator
|
Release Planner v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |