vertx / io.vertx.reactivex.core.shareddata / LocalMap / replace

replace

open fun replace(key: K, value: V): V

Replace the entry only if there is an existing entry with the key

Parameters

key - the key

value - the new value

Return
the old value