|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.orientechnologies.jdo.utils.oReusableArray
Special array that reuse empty rooms created on deletion of elements. In this way objects mantain the same position across deletion and new element are reused.
| Constructor Summary | |
oReusableArray()
|
|
oReusableArray(int iOffset)
|
|
| Method Summary | |
int |
add(java.lang.Object iElement)
Insert an element in the list |
java.lang.Object |
get(int iPos)
Get an element |
java.util.Iterator |
iterator()
|
java.lang.Object |
remove(int iPos)
Free the position required |
int |
size()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public oReusableArray()
public oReusableArray(int iOffset)
| Method Detail |
public java.util.Iterator iterator()
public int size()
public java.lang.Object get(int iPos)
iPos - Element position
public int add(java.lang.Object iElement)
iElement - Element to insert
public java.lang.Object remove(int iPos)
iPos - Position
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||