|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.pss.connector.memory.MemoryIterator
public class MemoryIterator
A Memory iterator is an OpenORB extension to the Persistent State Service.
Constructor Summary | |
---|---|
MemoryIterator(StorageHomeBase home,
MemoryCatalog catalog)
Constructor |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryIterator(StorageHomeBase home, MemoryCatalog catalog)
Method Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface Iterator
public void next()
next
in interface Iterator
public StorageObject element()
element
in interface Iterator
public StorageObject detach()
detach
in interface Iterator
public void reset()
reset
in interface Iterator
public void fetch(byte[] pid)
fetch
in interface Iterator
public void set(int position)
set
in interface Iterator
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |