open fun ensureCapacity(minCapacity: Int): Unit
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