Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)
|
Vector
antlr.collections.impl
Class Vector
java.lang.Object
antlr.collections.impl.Vector
- All Implemented Interfaces:
- java.lang.Cloneable
- public class Vector
- extends java.lang.Object
- implements java.lang.Cloneable
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Vector
public Vector()
Vector
public Vector(int size)
appendElement
public void appendElement(java.lang.Object o)
capacity
public int capacity()
- Returns the current capacity of the vector.
clone
public java.lang.Object clone()
elementAt
public java.lang.Object elementAt(int i)
- Returns the element at the specified index.
- Throws:
java.lang.ArrayIndexOutOfBoundsException - If an invalid
index was given.
elements
public java.util.Enumeration elements()
ensureCapacity
public void ensureCapacity(int minIndex)
removeElement
public boolean removeElement(java.lang.Object o)
setElementAt
public void setElementAt(java.lang.Object obj,
int i)
size
public int size()
|