Home
last modified time | relevance | path

Searched refs:updateAndGet (Results 1 – 11 of 11) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DAtomic8Test.java85 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/
DAtomicInteger.java103 public final int updateAndGet(java.util.function.IntUnaryOperator updateFunction) { in updateAndGet() method in AtomicInteger
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicInteger.java238 public final int updateAndGet(IntUnaryOperator updateFunction) { in updateAndGet() method in AtomicInteger
DAtomicReference.java177 public final V updateAndGet(UnaryOperator<V> updateFunction) { in updateAndGet() method in AtomicReference
DAtomicLong.java254 public final long updateAndGet(LongUnaryOperator updateFunction) { in updateAndGet() method in AtomicLong
DAtomicIntegerArray.java283 public final int updateAndGet(int i, IntUnaryOperator updateFunction) { in updateAndGet() method in AtomicIntegerArray
DAtomicLongArray.java282 public final long updateAndGet(int i, LongUnaryOperator updateFunction) { in updateAndGet() method in AtomicLongArray
DAtomicReferenceArray.java233 public final E updateAndGet(int i, UnaryOperator<E> updateFunction) { in updateAndGet() method in AtomicReferenceArray
DAtomicReferenceFieldUpdater.java226 public final V updateAndGet(T obj, UnaryOperator<V> updateFunction) { in updateAndGet() method in AtomicReferenceFieldUpdater
DAtomicIntegerFieldUpdater.java306 public final int updateAndGet(T obj, IntUnaryOperator updateFunction) { in updateAndGet() method in AtomicIntegerFieldUpdater
DAtomicLongFieldUpdater.java309 public final long updateAndGet(T obj, LongUnaryOperator updateFunction) { in updateAndGet() method in AtomicLongFieldUpdater