Package java.util
Class Vector

Public Constructor Vector

Vector()

Vector(Collection c)

Vector(int initialCapacity)

Throws:

Vector(int initialCapacity, int capacityIncrement)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

constructor Vector():

Constructs an empty vector so that its internal data array has size 10 and its standard capacity increment is zero.

constructor Vector(Collection c):

Constructs a vector containing the elements of the specified collection, in the order they are returned by the collection's iterator.

constructor Vector(int initialCapacity):

Constructs an empty vector with the specified initial capacity and with its capacity increment equal to zero.

constructor Vector(int initialCapacity, int capacityIncrement):

Constructs an empty vector with the specified initial capacity and capacity increment. The capacity increment is the amount by which the capacity of the vector is automatically incremented when its size becomes greater than its capacity. If the capacity increment is less than or equal to zero, the capacity of the vector is doubled each time it needs to grow.