antlr.collections.impl
public class IndexedVector extends Object
| Field Summary | |
|---|---|
| protected Vector | elements |
| protected Hashtable | index |
| Constructor Summary | |
|---|---|
| IndexedVector()
IndexedVector constructor comment. | |
| IndexedVector(int size)
IndexedVector constructor comment. | |
| Method Summary | |
|---|---|
| void | appendElement(Object key, Object value) |
| Object | elementAt(int i)
Returns the element at the specified index. |
| Enumeration | elements() |
| Object | getElement(Object key) |
| boolean | removeElement(Object key) remove element referred to by key NOT value; return false if not found. |
| int | size() |
Parameters: size int
Parameters: index the index of the desired element
Throws: ArrayIndexOutOfBoundsException If an invalid index was given.