|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Cursor
This interface extends the Iterator interface to allow insertion of data and move to previous entries in a collection.
Method Summary | |
---|---|
void |
add(Object reference)
Add an unkeyed element to the collection. |
void |
add(Object key,
Object reference)
Add a keyed element to the collection. |
boolean |
hasPrev()
Is there a previous element in the collection? |
Object |
prev()
Get the previous element |
void |
setKey(Object key)
Point the list at a particular element. |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
boolean hasPrev()
Object prev() throws NoSuchElementException
NoSuchElementException
void setKey(Object key)
void add(Object reference)
void add(Object key, Object reference)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |