|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int |
BACKWARD
The constant for "backwards" direction. |
static int |
FORWARD
The constant for the "forwards" direction. |
Method Summary | |
void |
close()
Disposes of any resource that may be in use by the iterator. |
java.lang.String |
getCurrentId()
Return the id on which the iterator is currently positioned. |
java.lang.String |
getNextId(int direction)
Moves the current id to the next in the given direction and returns it. |
boolean |
hasNext(int direction)
Return true if there exist an id in the given direction. |
Field Detail |
public static final int FORWARD
public static final int BACKWARD
Method Detail |
public boolean hasNext(int direction)
direction
- one of FORWARD
or BACKWARD
constants.
public java.lang.String getCurrentId()
public java.lang.String getNextId(int direction)
direction
- one of FORWARD
or BACKWARD
constants.
public void close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |