getOrPut
fun <K, V> ConcurrentMap<K, V>.getOrPut( key: K, defaultValue: () -> V ): V
Concurrent getOrPut, that is safe for concurrent maps.
© 2010&nd
联系方式: