| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
data |
protected int |
lastElement |
| Modifier and Type | Method and Description |
|---|---|
void |
appendElement(Object o) |
int |
capacity()
Returns the current capacity of the vector.
|
Object |
clone() |
Object |
elementAt(int i)
Returns the element at the specified index.
|
Enumeration |
elements() |
void |
ensureCapacity(int minIndex) |
boolean |
removeElement(Object o) |
void |
setElementAt(Object obj,
int i) |
int |
size() |
protected Object[] data
protected int lastElement
public void appendElement(Object o)
public int capacity()
public Object elementAt(int i)
index - the index of the desired elementArrayIndexOutOfBoundsException - If an invalid
index was given.public Enumeration elements()
public void ensureCapacity(int minIndex)
public boolean removeElement(Object o)
public void setElementAt(Object obj, int i)
public int size()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.