Overview | Methods | This Package | All Packages
Ensures the minimum capacity of the list.
Syntax
public final void ensureCapacity( int min )
Parameters
min
The minimum capacity for the list.
Remarks
If the list is not large enough, the capacity is increased by the capacity increment. If the capacity increment is 0, the size of the list doubles.