|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Iterator
This interface provides a way to iterate through a home with an unique storage type instance.
Method Summary | |
---|---|
StorageObject |
detach()
Returns the current element and detached it from the iterator. |
StorageObject |
element()
Returns the current element. |
void |
fetch(byte[] pid)
Set the current element of the iterator by providing a PID |
boolean |
hasMoreElements()
Returns true if there are some other elements |
void |
next()
Shifts to the next element |
void |
reset()
Resets the iterator to the first element |
void |
set(int position)
Set the current position for the iterator |
Method Detail |
---|
boolean hasMoreElements()
void next()
StorageObject element()
StorageObject detach()
void reset()
void fetch(byte[] pid)
void set(int position)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |