Course contentsShow
Java
Lesson 1009 of 2,87024. List ImplementationsPro lesson

trimToSize: Reclaiming Unused Capacity

Discover how to shrink the backing array to exactly match the current size and free memory.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.