Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

List.trimToSize

Removes excess space from the list, ensuring that the capacity of the list is equal to the number of items.

Syntax

public void trimToSize()