ensureCapacity

fun ensureCapacity(expectedElements: Int)

Ensure this container can hold at least the given number of keys (entries) without resizing its buffers.

Parameters

expectedElements

The total number of keys, inclusive.