concurrent / org.apache.tuweni.concurrent / AtomicSlotMap / remove

remove

@Nullable fun remove(slot: K): V? (source)

Remove a value from a slot, making the slot available again.

Parameters

slot - K: The slot.

Return
V?: The value that was in the slot, if any.