map Bin At Hash Put Level Can Destroy
fun A_MapBin.mapBinAtHashPutLevelCanDestroy( key: A_BasicObject, keyHash: Int, value: A_BasicObject, myLevel: Int, canDestroy: Boolean): A_MapBin
Content copied to clipboard
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.
key Hash
The precomputed hash value of the key.
value
The value to store under the key in the resulting map bin.
my Level
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.
can Destroy
Whether the receiver can be destroyed/reused if it's also mutable.