concurrent / org.apache.tuweni.concurrent / AtomicSlotMap / add

add

fun add(value: V): K (source)

Add a value to the slot map, using the first available slot.

Parameters

value - The value.

Return
The slot that was used to store the value.