|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.edge.common.ResizableArray
Represents a resizable array of objects.
| Field Summary | |
int |
m_objNo |
java.lang.Object[] |
m_objs |
| Constructor Summary | |
ResizableArray(int AllocCapacity)A constructor with specified intial allocation capacity. |
|
| Method Summary | |
void |
add(java.lang.Object CurObj)Append a new object into this array. |
void |
add(java.lang.Object[] CurObjs)Append an array of new objects into this array. |
void |
assign(java.lang.Object CurObj)Empty this array and then add a new object to this array. |
void |
assign(java.lang.Object[] CurObjs)Empty this array and then add a new array of objects to this array. |
void |
clear()Direct cleanup on everything. |
void |
clearElements()Direct cleanup on individual elements but not array itself. |
void |
compact()Remove all null elements inside the array. |
java.lang.Object |
find(java.lang.Object curObject) |
java.lang.Object |
remove(java.lang.Object curObject) |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int m_objNo
public java.lang.Object[] m_objs
| Constructor Detail |
public ResizableArray(int AllocCapacity)
AllocCapacity - initial allocation capacity| Method Detail |
public void add(java.lang.Object CurObj)
CurObj - a new objectpublic void add(java.lang.Object[] CurObjs)
CurObjs - an array of new objectspublic void assign(java.lang.Object CurObj)
CurObj - a new objectpublic void assign(java.lang.Object[] CurObjs)
CurObjs - a new array of objectspublic void clear()
public void clearElements()
public void compact()
public java.lang.Object find(java.lang.Object curObject)
public java.lang.Object remove(java.lang.Object curObject)
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||