Searched refs:updateAndGet (Results 1 – 11 of 11) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | Atomic8Test.java | 85 assertEquals(18L, a.updateAndGet(Atomic8Test::addLong17)); in testLongUpdateAndGet() 86 assertEquals(35L, a.updateAndGet(Atomic8Test::addLong17)); in testLongUpdateAndGet() 128 assertEquals(18, a.updateAndGet(Atomic8Test::addInt17)); in testIntUpdateAndGet() 129 assertEquals(35, a.updateAndGet(Atomic8Test::addInt17)); in testIntUpdateAndGet() 172 assertEquals(new Integer(18), a.updateAndGet(Atomic8Test::addInteger17)); in testReferenceUpdateAndGet() 173 assertEquals(new Integer(35), a.updateAndGet(Atomic8Test::addInteger17)); in testReferenceUpdateAndGet() 218 assertEquals(18L, a.updateAndGet(0, Atomic8Test::addLong17)); in testLongArrayUpdateAndGet() 219 assertEquals(35L, a.updateAndGet(0, Atomic8Test::addLong17)); in testLongArrayUpdateAndGet() 266 assertEquals(18, a.updateAndGet(0, Atomic8Test::addInt17)); in testIntArrayUpdateAndGet() 267 assertEquals(35, a.updateAndGet(0, Atomic8Test::addInt17)); in testIntArrayUpdateAndGet() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/atomic/ |
D | AtomicInteger.java | 103 public final int updateAndGet(java.util.function.IntUnaryOperator updateFunction) { in updateAndGet() method in AtomicInteger
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicInteger.java | 238 public final int updateAndGet(IntUnaryOperator updateFunction) { in updateAndGet() method in AtomicInteger
|
D | AtomicReference.java | 177 public final V updateAndGet(UnaryOperator<V> updateFunction) { in updateAndGet() method in AtomicReference
|
D | AtomicLong.java | 254 public final long updateAndGet(LongUnaryOperator updateFunction) { in updateAndGet() method in AtomicLong
|
D | AtomicIntegerArray.java | 283 public final int updateAndGet(int i, IntUnaryOperator updateFunction) { in updateAndGet() method in AtomicIntegerArray
|
D | AtomicLongArray.java | 282 public final long updateAndGet(int i, LongUnaryOperator updateFunction) { in updateAndGet() method in AtomicLongArray
|
D | AtomicReferenceArray.java | 233 public final E updateAndGet(int i, UnaryOperator<E> updateFunction) { in updateAndGet() method in AtomicReferenceArray
|
D | AtomicReferenceFieldUpdater.java | 226 public final V updateAndGet(T obj, UnaryOperator<V> updateFunction) { in updateAndGet() method in AtomicReferenceFieldUpdater
|
D | AtomicIntegerFieldUpdater.java | 306 public final int updateAndGet(T obj, IntUnaryOperator updateFunction) { in updateAndGet() method in AtomicIntegerFieldUpdater
|
D | AtomicLongFieldUpdater.java | 309 public final long updateAndGet(T obj, LongUnaryOperator updateFunction) { in updateAndGet() method in AtomicLongFieldUpdater
|