ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / common / kotlin.collections.MutableMap / computeIfAbsentAndGet

computeIfAbsentAndGet

fun <K, V : Any> MutableMap<K, V>.computeIfAbsentAndGet(key: K, valueCreator: () -> V): V

Equivalent to computeIfAbsent, but also return the created or existing value