public class ObjectArray
extends java.lang.Object
Constructor | Description |
---|---|
ObjectArray() |
|
ObjectArray(int minArraySize) |
Modifier and Type | Method | Description |
---|---|---|
int |
append(java.lang.Object o) |
|
java.lang.Object |
getAt(int idx) |
|
static void |
main(java.lang.String[] args) |
|
void |
setAt(int idx,
java.lang.Object obj) |
public ObjectArray()
public ObjectArray(int minArraySize)
minArraySize
- The size of the Arrays stored in the Vectorpublic java.lang.Object getAt(int idx)
idx
- Index of the Object in the Arraypublic void setAt(int idx, java.lang.Object obj)
idx
- Index of the Object in the Arrayobj
- , The value to set in the Arraypublic int append(java.lang.Object o)
o
- Object to be appended to the Arraypublic static void main(java.lang.String[] args)
args
- Copyright ? 2014 Apache XML Project. All Rights Reserved.