fun trimToSize() { ++modCount if (size < elementData.length) { elementData = Arrays.copyOf(elementData, size) } }
Trims the capacity of this < tt > ArrayHashList < /tt > instance to be the list 's current size . An application can use this operation to minimize the storage of an < tt > ArrayHashList < /tt > instance .