public class ObjArray
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ObjArray() |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
java.lang.Object value) |
void |
add(java.lang.Object value) |
void |
clear() |
java.lang.Object |
get(int index) |
int |
indexOf(java.lang.Object obj) |
boolean |
isEmpty() |
boolean |
isSealed() |
int |
lastIndexOf(java.lang.Object obj) |
java.lang.Object |
peek() |
java.lang.Object |
pop() |
void |
push(java.lang.Object value) |
void |
remove(int index) |
void |
seal() |
void |
set(int index,
java.lang.Object value) |
void |
setSize(int newSize) |
int |
size() |
java.lang.Object[] |
toArray() |
void |
toArray(java.lang.Object[] array) |
void |
toArray(java.lang.Object[] array,
int offset) |
public final boolean isSealed()
public final void seal()
public final boolean isEmpty()
public final int size()
public final void setSize(int newSize)
public final java.lang.Object get(int index)
public final void set(int index, java.lang.Object value)
public int indexOf(java.lang.Object obj)
public int lastIndexOf(java.lang.Object obj)
public final java.lang.Object peek()
public final java.lang.Object pop()
public final void push(java.lang.Object value)
public final void add(java.lang.Object value)
public final void add(int index, java.lang.Object value)
public final void remove(int index)
public final void clear()
public final java.lang.Object[] toArray()
public final void toArray(java.lang.Object[] array)
public final void toArray(java.lang.Object[] array, int offset)