|
|||||||||
| 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(java.lang.Object reference)
Add an unkeyed element to the collection. |
void |
add(java.lang.Object key,
java.lang.Object reference)
Add a keyed element to the collection. |
boolean |
hasPrev()
Is there a previous element in the collection? |
java.lang.Object |
prev()
Get the previous element |
void |
setKey(java.lang.Object key)
Point the list at a particular element. |
| Methods inherited from interface java.util.Iterator |
|---|
hasNext, next, remove |
| Method Detail |
|---|
boolean hasPrev()
java.lang.Object prev()
throws java.util.NoSuchElementException
java.util.NoSuchElementExceptionvoid setKey(java.lang.Object key)
void add(java.lang.Object reference)
void add(java.lang.Object key,
java.lang.Object reference)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||