put

fun put(key: Int, value: V)

Stores value under key, growing and rehashing the table when it passes its load factor.

Parameters

key

The key, which may not be 0 - that value marks an empty slot.

value

The value to store.

Throws