java.lang.Object antlr.collections.impl.Vector
Constructor Summary | |
Vector()
|
|
Vector(int size)
|
Method Summary | |
void |
appendElement(java.lang.Object o)
|
int |
capacity()
Returns the current capacity of the vector. |
java.lang.Object |
clone()
|
java.lang.Object |
elementAt(int i)
Returns the element at the specified index. |
java.util.Enumeration |
elements()
|
void |
ensureCapacity(int minIndex)
|
boolean |
removeElement(java.lang.Object o)
|
void |
setElementAt(java.lang.Object obj,
int i)
|
int |
size()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Vector()
public Vector(int size)
Method Detail |
public void appendElement(java.lang.Object o)
public int capacity()
public java.lang.Object clone()
public java.lang.Object elementAt(int i)
java.lang.ArrayIndexOutOfBoundsException
- If an invalid
index was given.public java.util.Enumeration elements()
public void ensureCapacity(int minIndex)
public boolean removeElement(java.lang.Object o)
public void setElementAt(java.lang.Object obj, int i)
public int size()