public class VectorOfLong extends Vector
VectorcapacityIncrement, elementCount, elementData| Constructor | Description |
|---|---|
VectorOfLong() |
Constructs an empty vector of Long objects.
|
VectorOfLong(int initialCapacity) |
Constructs an empty vector with the specified initial capacity.
|
VectorOfLong(int initialCapacity,
int capacityIncrement) |
Constructs an empty vector with the specified initial capacity
and capacity increment.
|
VectorOfLong(java.lang.Object[] array) |
Constructs a vector from an array of Long.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddElement, capacity, clone, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, removeAllElements, removeElement, removeElementAt, setElementAt, setSize, size, toString, trimToSizepublic VectorOfLong()
public VectorOfLong(int initialCapacity)
initialCapacity - The initial capacity of the vector.public VectorOfLong(int initialCapacity,
int capacityIncrement)
initialCapacity - The initial capacity of the vector.capacityIncrement - The amount by which the capacity is increased when the vector overflows.public VectorOfLong(java.lang.Object[] array)
array - The array of long to copy into the vector.