put

fun put(key: String, value: Boolean?): LWWMap

Puts a key / Boolean value pair into the map.

If value is null, the key is deleted.

Return

the delta corresponding to this operation.

fun put(key: String, value: Double?): LWWMap

Puts a key / Double value pair into the map.

If value is null, the key is deleted.

Return

the delta corresponding to this operation.

fun put(key: String, value: Int?): LWWMap

Puts a key / Int value pair into the map.

If value is null, the key is deleted.

Return

the delta corresponding to this operation.

fun put(key: String, value: String?): LWWMap

Puts a key / String value pair into the map.

If value is null, the key is deleted.

Return

the delta corresponding to this operation.