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()
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
OverviewMethodsThis PackageAll 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()