Returns a news vector object with the specified initial capacity and capacity increment.
Syntax
Vector( )
Vector( initialcapacity )
Vector( initialcapacity , capacityincrement )
Parameters
initialcapacity
|
the initial capacity of the vector object.
|
capacityincrement
|
the amount by which the capacity is incremented when the vector grows.
|
Returns
vector
|
a new vector object.
|
Example
v = Vector( )
|