/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | Atomic8Test.java | 95 assertEquals(1L, a.getAndUpdate(Atomic8Test::addLong17)); in testLongGetAndUpdate() 96 assertEquals(18L, a.getAndUpdate(Atomic8Test::addLong17)); in testLongGetAndUpdate() 138 assertEquals(1, a.getAndUpdate(Atomic8Test::addInt17)); in testIntGetAndUpdate() 139 assertEquals(18, a.getAndUpdate(Atomic8Test::addInt17)); in testIntGetAndUpdate() 182 assertEquals((Integer) 1, a.getAndUpdate(Atomic8Test::addInteger17)); in testReferenceGetAndUpdate() 183 assertEquals((Integer) 18, a.getAndUpdate(Atomic8Test::addInteger17)); in testReferenceGetAndUpdate() 227 assertEquals(1L, a.getAndUpdate(0, Atomic8Test::addLong17)); in testLongArrayGetAndUpdate() 228 assertEquals(18L, a.getAndUpdate(0, Atomic8Test::addLong17)); in testLongArrayGetAndUpdate() 275 assertEquals(1, a.getAndUpdate(0, Atomic8Test::addInt17)); in testIntArrayGetAndUpdate() 276 assertEquals(18, a.getAndUpdate(0, Atomic8Test::addInt17)); in testIntArrayGetAndUpdate() [all …]
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | Atomic8Test.java | 74 assertEquals(1L, a.getAndUpdate(Atomic8Test::addLong17)); in testLongGetAndUpdate() 75 assertEquals(18L, a.getAndUpdate(Atomic8Test::addLong17)); in testLongGetAndUpdate() 117 assertEquals(1, a.getAndUpdate(Atomic8Test::addInt17)); in testIntGetAndUpdate() 118 assertEquals(18, a.getAndUpdate(Atomic8Test::addInt17)); in testIntGetAndUpdate() 161 assertEquals(new Integer(1), a.getAndUpdate(Atomic8Test::addInteger17)); in testReferenceGetAndUpdate() 162 assertEquals(new Integer(18), a.getAndUpdate(Atomic8Test::addInteger17)); in testReferenceGetAndUpdate() 206 assertEquals(1L, a.getAndUpdate(0, Atomic8Test::addLong17)); in testLongArrayGetAndUpdate() 207 assertEquals(18L, a.getAndUpdate(0, Atomic8Test::addLong17)); in testLongArrayGetAndUpdate() 254 assertEquals(1, a.getAndUpdate(0, Atomic8Test::addInt17)); in testIntArrayGetAndUpdate() 255 assertEquals(18, a.getAndUpdate(0, Atomic8Test::addInt17)); in testIntArrayGetAndUpdate() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/atomic/ |
D | AtomicInteger.java | 99 public final int getAndUpdate(java.util.function.IntUnaryOperator updateFunction) { in getAndUpdate() method in AtomicInteger
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicInteger.java | 219 public final int getAndUpdate(IntUnaryOperator updateFunction) { in getAndUpdate() method in AtomicInteger
|
D | AtomicReference.java | 158 public final V getAndUpdate(UnaryOperator<V> updateFunction) { in getAndUpdate() method in AtomicReference
|
D | AtomicLong.java | 235 public final long getAndUpdate(LongUnaryOperator updateFunction) { in getAndUpdate() method in AtomicLong
|
D | AtomicIntegerArray.java | 262 public final int getAndUpdate(int i, IntUnaryOperator updateFunction) { in getAndUpdate() method in AtomicIntegerArray
|
D | AtomicLongArray.java | 261 public final long getAndUpdate(int i, LongUnaryOperator updateFunction) { in getAndUpdate() method in AtomicLongArray
|
D | AtomicReferenceArray.java | 212 public final E getAndUpdate(int i, UnaryOperator<E> updateFunction) { in getAndUpdate() method in AtomicReferenceArray
|
D | AtomicReferenceFieldUpdater.java | 206 public final V getAndUpdate(T obj, UnaryOperator<V> updateFunction) { in getAndUpdate() method in AtomicReferenceFieldUpdater
|
D | AtomicIntegerFieldUpdater.java | 286 public final int getAndUpdate(T obj, IntUnaryOperator updateFunction) { in getAndUpdate() method in AtomicIntegerFieldUpdater
|
D | AtomicLongFieldUpdater.java | 289 public final long getAndUpdate(T obj, LongUnaryOperator updateFunction) { in getAndUpdate() method in AtomicLongFieldUpdater
|
/libcore/api/ |
D | current.txt | 15161 method public final int getAndUpdate(java.util.function.IntUnaryOperator); 15184 method public final int getAndUpdate(int, java.util.function.IntUnaryOperator); 15205 method public final int getAndUpdate(T, java.util.function.IntUnaryOperator); 15229 method public final long getAndUpdate(java.util.function.LongUnaryOperator); 15252 method public final long getAndUpdate(int, java.util.function.LongUnaryOperator); 15273 method public final long getAndUpdate(T, java.util.function.LongUnaryOperator); 15301 method public final V getAndUpdate(java.util.function.UnaryOperator<V>); 15316 method public final E getAndUpdate(int, java.util.function.UnaryOperator<E>); 15331 method public final V getAndUpdate(T, java.util.function.UnaryOperator<V>);
|