fun ensureCapacity(minCapacity: int): void
Increases the capacity of this ArrayList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
minCapacity - int: the desired minimum capacity
minCapacity