Searched refs:updateAndGet (Results 1 – 5 of 5) sorted by relevance
122 public inline fun <T> AtomicRef<T>.updateAndGet(function: (T) -> T): T { in updateAndGet() method195 public inline fun AtomicBoolean.updateAndGet(function: (Boolean) -> Boolean): Boolean { in updateAndGet() method306 public inline fun AtomicInt.updateAndGet(function: (Int) -> Int): Int { in updateAndGet() method417 public inline fun AtomicLong.updateAndGet(function: (Long) -> Long): Long { in updateAndGet() method
143 public long updateAndGet(K key, LongUnaryOperator updaterFunction) { in updateAndGet() method in AtomicLongMap181 return updateAndGet(key, oldValue -> accumulatorFunction.applyAsLong(oldValue, x)); in accumulateAndGet()
41 assertEquals(refArr[0].updateAndGet { cur -> action(cur) }!!.n, 50) in <lambda>()
217 _state.updateAndGet { state -> in next()
11 * Use Kotlin-specific extensions (e.g. inline `updateAndGet` and `getAndUpdate` functions).58 Use high-level `update`, `updateAndGet`, and `getAndUpdate`,