public class IndexedVector extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Vector |
elements |
protected Hashtable |
index |
| Constructor and Description |
|---|
IndexedVector()
IndexedVector constructor comment.
|
IndexedVector(int size)
IndexedVector constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public IndexedVector()
public IndexedVector(int size)
size - intpublic Object elementAt(int i)
index - the index of the desired elementArrayIndexOutOfBoundsException - If an invalid
index was given.public Enumeration elements()
public boolean removeElement(Object key)
public int size()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.