antlr.collections.impl
Class Vector
java.lang.Object
antlr.collections.impl.Vector
- Cloneable
public class Vector
extends java.lang.Object
implements Cloneable
data
protected Object[] data
lastElement
protected int lastElement
Vector
public Vector(int size)
appendElement
public void appendElement(Object o)
capacity
public int capacity()
Returns the current capacity of the vector.
clone
public Object clone()
elementAt
public Object elementAt(int i)
Returns the element at the specified index.
elements
public Enumeration elements()
ensureCapacity
public void ensureCapacity(int minIndex)
removeElement
public boolean removeElement(Object o)
setElementAt
public void setElementAt(Object obj,
int i)