|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Unlike the java iterator interface the next and previous methods do *NOT* throw an expection. If there is no element to return for next() or previous() then the methods return null.
| Method Summary | |
com.ds.fw.types.collections.FwCursorIteratorMarkIF |
getMark()
Gets a marker for the current list. |
void |
gotoEnd()
Positions the list cursor at the last element of the list. |
void |
gotoStart()
Positions the list cursor at the first element of the list. |
boolean |
hasNext()
Checks if there is a next element of the list (if the boundary is not reached yet). |
boolean |
hasPrevious()
Checks if there is a previous element of the list (if the boundary is not reached yet). |
java.lang.Object |
next()
Returns the next element of the list or null, if the array bound is reached. |
com.ds.fw.types.collections.FwListIF |
next(int n)
Returns a sublist with next n elements of the list. |
java.lang.Object |
previous()
Returns the previous element of the list or null, if the array bound is reached. |
com.ds.fw.types.collections.FwListIF |
previous(int n)
Returns a sublist with previous n elements of the list. |
void |
setMark(com.ds.fw.types.collections.FwCursorIteratorMarkIF m)
Sets the list settings to these of the given marker. |
| Methods inherited from interface java.util.Iterator |
remove |
| Method Detail |
public java.lang.Object next()
next in interface java.util.Iteratorpublic java.lang.Object previous()
public com.ds.fw.types.collections.FwListIF next(int n)
public com.ds.fw.types.collections.FwListIF previous(int n)
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic boolean hasPrevious()
public com.ds.fw.types.collections.FwCursorIteratorMarkIF getMark()
public void setMark(com.ds.fw.types.collections.FwCursorIteratorMarkIF m)
m - a marker object interfacepublic void gotoStart()
public void gotoEnd()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||