ArrayList
public class ArrayVector
extends java.lang.Object
java.util.Vector
, the accessor methods of this class are not synchronized.Modifier and Type | Field and Description |
---|---|
protected int |
count
Deprecated.
|
protected java.lang.Object[] |
elements
Deprecated.
|
protected static int |
GROWTH_FACTOR
Deprecated.
|
protected static int |
INITIAL_SIZE
Deprecated.
|
Constructor and Description |
---|
ArrayVector()
Deprecated.
|
ArrayVector(int initialSize)
Deprecated.
|
ArrayVector(java.lang.Object[] elements)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addElement(java.lang.Object o)
Deprecated.
|
void |
addElementAt(java.lang.Object o, int index)
Deprecated.
|
void |
clear()
Deprecated.
|
java.lang.Object |
elementAt(int index)
Deprecated.
|
java.lang.Object[] |
getElements()
Deprecated.
|
void |
getElements(java.lang.Object[] res)
Deprecated.
|
void |
setElementAt(java.lang.Object o, int index)
Deprecated.
|
int |
size()
Deprecated.
|
protected static final int INITIAL_SIZE
protected static final int GROWTH_FACTOR
protected java.lang.Object[] elements
protected int count
public ArrayVector()
public ArrayVector(int initialSize)
public ArrayVector(java.lang.Object[] elements)
public void addElement(java.lang.Object o)
public void addElementAt(java.lang.Object o, int index)
public void setElementAt(java.lang.Object o, int index)
public java.lang.Object elementAt(int index)
public java.lang.Object[] getElements()
public void getElements(java.lang.Object[] res)
public int size()
public void clear()