Overview | Methods | This Package | All Packages
Removes excess space from the list, ensuring that the capacity of the list is equal to the number of items.
Syntax
public void trimToSize()