mapBinAtHashPutLevelCanDestroy

fun A_MapBin.mapBinAtHashPutLevelCanDestroy(    key: A_BasicObject,     keyHash: Int,     value: A_BasicObject,     myLevel: Int,     canDestroy: Boolean): A_MapBin

Create a map bin like the receiver, but with the given key associated with the given value. If canDestroy is true and the receiver is mutable, the receiver may be modified, and possibly act as the return value of this method.

Return

The value stored under the given key in this map bin.

Parameters

key

The key to associated with the value.

keyHash

The precomputed hash value of the key.

value

The value to store under the key in the resulting map bin.

myLevel

The level number associated with this bin. Each level uses a different range of bits of the key's hash to determine which sub-bin to access.

canDestroy

Whether the receiver can be destroyed/reused if it's also mutable.