Home
last modified time | relevance | path

Searched refs:updateAndGet (Results 1 – 13 of 13) 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/src/test/java/util/concurrent/tck/
DAtomic8Test.java106 assertEquals(18L, a.updateAndGet(Atomic8Test::addLong17)); in testLongUpdateAndGet()
107 assertEquals(35L, a.updateAndGet(Atomic8Test::addLong17)); in testLongUpdateAndGet()
149 assertEquals(18, a.updateAndGet(Atomic8Test::addInt17)); in testIntUpdateAndGet()
150 assertEquals(35, a.updateAndGet(Atomic8Test::addInt17)); in testIntUpdateAndGet()
193 assertEquals((Integer) 18, a.updateAndGet(Atomic8Test::addInteger17)); in testReferenceUpdateAndGet()
194 assertEquals((Integer) 35, a.updateAndGet(Atomic8Test::addInteger17)); in testReferenceUpdateAndGet()
239 assertEquals(18L, a.updateAndGet(0, Atomic8Test::addLong17)); in testLongArrayUpdateAndGet()
240 assertEquals(35L, a.updateAndGet(0, Atomic8Test::addLong17)); in testLongArrayUpdateAndGet()
287 assertEquals(18, a.updateAndGet(0, Atomic8Test::addInt17)); in testIntArrayUpdateAndGet()
288 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.java309 public final int updateAndGet(IntUnaryOperator updateFunction) { in updateAndGet() method in AtomicInteger
DAtomicLong.java326 public final long updateAndGet(LongUnaryOperator updateFunction) { in updateAndGet() method in AtomicLong
DAtomicReference.java205 public final V updateAndGet(UnaryOperator<V> updateFunction) { in updateAndGet() method in AtomicReference
DAtomicLongArray.java299 public final long updateAndGet(int i, LongUnaryOperator updateFunction) { in updateAndGet() method in AtomicLongArray
DAtomicIntegerArray.java299 public final int updateAndGet(int i, IntUnaryOperator updateFunction) { in updateAndGet() method in AtomicIntegerArray
DAtomicReferenceFieldUpdater.java237 public final V updateAndGet(T obj, UnaryOperator<V> updateFunction) { in updateAndGet() method in AtomicReferenceFieldUpdater
DAtomicReferenceArray.java229 public final E updateAndGet(int i, UnaryOperator<E> updateFunction) { in updateAndGet() method in AtomicReferenceArray
DAtomicIntegerFieldUpdater.java313 public final int updateAndGet(T obj, IntUnaryOperator updateFunction) { in updateAndGet() method in AtomicIntegerFieldUpdater
DAtomicLongFieldUpdater.java316 public final long updateAndGet(T obj, LongUnaryOperator updateFunction) { in updateAndGet() method in AtomicLongFieldUpdater
/libcore/api/
Dcurrent.txt15581 method public final int updateAndGet(java.util.function.IntUnaryOperator);
15616 method public final int updateAndGet(int, java.util.function.IntUnaryOperator);
15641 method public final int updateAndGet(T, java.util.function.IntUnaryOperator);
15675 method public final long updateAndGet(java.util.function.LongUnaryOperator);
15710 method public final long updateAndGet(int, java.util.function.LongUnaryOperator);
15735 method public final long updateAndGet(T, java.util.function.LongUnaryOperator);
15770 method public final V updateAndGet(java.util.function.UnaryOperator<V>);
15799 method public final E updateAndGet(int, java.util.function.UnaryOperator<E>);
15818 method public final V updateAndGet(T, java.util.function.UnaryOperator<V>);