Web-based responsive document annotation tool
activeannoservice / common / kotlin.collections.MutableMap
Name | Summary |
---|---|
computeIfAbsentAndGet | Equivalent to computeIfAbsent, but also return the created or existing valuefun <K, V : Any > MutableMap <K, V>.computeIfAbsentAndGet(key: K, valueCreator: () -> V): V |
putIfAbsentAndGet | Return the NEW value if absent, or get the existing valuefun <K, V : Any > MutableMap <K, V>.putIfAbsentAndGet(key: K, value: V): V |