public class ObjectArray extends Object
Constructor and Description |
---|
ObjectArray() |
ObjectArray(int minArraySize) |
Modifier and Type | Method and Description |
---|---|
int |
append(Object o) |
Object |
getAt(int idx) |
static void |
main(String[] args) |
void |
setAt(int idx,
Object obj) |
public ObjectArray()
public ObjectArray(int minArraySize)
minArraySize
- The size of the Arrays stored in the Vectorpublic Object getAt(int idx)
idx
- Index of the Object in the Arraypublic void setAt(int idx, Object obj)
idx
- Index of the Object in the Arrayobj
- , The value to set in the Arraypublic int append(Object o)
o
- Object to be appended to the Arraypublic static void main(String[] args)
args
- Copyright © 2017 JBoss by Red Hat. All rights reserved.