drasys.or.cont
Class IndexedVector
java.lang.Object
|
+--drasys.or.cont.IndexedVector
- public class IndexedVector
- extends java.lang.Object
- implements java.io.Serializable
A vector of objects with an index into the vector.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
IndexedVector
public IndexedVector()
IndexedVector
public IndexedVector(int capacity)
capacity
public int capacity()
removeAllElements
public void removeAllElements()
ensureCapacity
public void ensureCapacity(int capacity)
size
public int size()
addElement
public int addElement(java.lang.Object key,
java.lang.Object value)
throws java.lang.NullPointerException
get
public java.lang.Object get(java.lang.Object key)
getElementIndex
public int getElementIndex(java.lang.Object key)
elementAt
public java.lang.Object elementAt(int index)
throws java.lang.ArrayIndexOutOfBoundsException
Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com