Vector.Vector

Vector.Vector

Class Overview | Class Members | This Package | All Packages

Syntax 1
public Vector( int initialCapacity, int capacityIncrement )
Parameters
initialCapacity
the initial capacity of the vector.
capacityIncrement
the amount by which the capacity is increased when the vector overflows.
Description
Constructs an empty vector with the specified initial capacity and capacity increment.



Syntax 2
public Vector( int initialCapacity )
Parameters
initialCapacity
the initial capacity of the vector.
Description
Constructs an empty vector with the specified initial capacity.



Syntax 3
public Vector()
Description
Constructs an empty vector.