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 - The slot.

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