SlotComputer

fun interface SlotComputer<S : Slot>

Decides what a key maps to, given whatever is already there. Returning null removes it.

Functions

Link copied to clipboard
abstract fun compute(key: Any?, index: Int, existing: Slot?, mutableMap: CompoundOperationMap, owner: SlotMapOwner?): S?