/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicBoolean.java | 69 public final boolean compareAndSet(boolean expect, boolean update) { method in class:AtomicBoolean 81 * only rarely an appropriate alternative to {@code compareAndSet}. 122 if (compareAndSet(current, newValue))
|
H A D | AtomicReference.java | 84 public final boolean compareAndSet(V expect, V update) { method in class:AtomicReference 94 * only rarely an appropriate alternative to {@code compareAndSet}. 113 if (compareAndSet(x, newValue))
|
H A D | AtomicReferenceFieldUpdater.java | 32 * return leftUpdater.compareAndSet(this, expect, update); 37 * <p>Note that the guarantees of the {@code compareAndSet} 42 * {@code compareAndSet} and {@code set} on the same updater. 82 * other calls to {@code compareAndSet} and {@code set}, but not 90 public abstract boolean compareAndSet(T obj, V expect, V update); method in class:AtomicReferenceFieldUpdater 96 * other calls to {@code compareAndSet} and {@code set}, but not 101 * only rarely an appropriate alternative to {@code compareAndSet}. 113 * store with respect to subsequent invocations of {@code compareAndSet}. 150 if (compareAndSet(obj, current, newValue)) 255 public boolean compareAndSet( method in class:AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl [all...] |
H A D | AtomicInteger.java | 91 if (compareAndSet(current, newValue)) 105 public final boolean compareAndSet(int expect, int update) { method in class:AtomicInteger 115 * only rarely an appropriate alternative to {@code compareAndSet}. 134 if (compareAndSet(current, next)) 148 if (compareAndSet(current, next)) 163 if (compareAndSet(current, next)) 177 if (compareAndSet(current, next)) 191 if (compareAndSet(current, next)) 206 if (compareAndSet(current, next))
|
H A D | AtomicIntegerArray.java | 137 public final boolean compareAndSet(int i, int expect, int update) { method in class:AtomicIntegerArray 151 * only rarely an appropriate alternative to {@code compareAndSet}. 159 return compareAndSet(i, expect, update);
|
H A D | AtomicIntegerFieldUpdater.java | 21 * <p>Note that the guarantees of the {@code compareAndSet} 26 * {@code compareAndSet} and {@code set} on the same updater. 62 * other calls to {@code compareAndSet} and {@code set}, but not 72 public abstract boolean compareAndSet(T obj, int expect, int update); method in class:AtomicIntegerFieldUpdater 78 * other calls to {@code compareAndSet} and {@code set}, but not 83 * only rarely an appropriate alternative to {@code compareAndSet}. 97 * store with respect to subsequent invocations of {@code compareAndSet}. 134 if (compareAndSet(obj, current, newValue)) 150 if (compareAndSet(obj, current, next)) 166 if (compareAndSet(ob 310 public boolean compareAndSet(T obj, int expect, int update) { method in class:AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl [all...] |
H A D | AtomicLong.java | 105 if (compareAndSet(current, newValue)) 119 public final boolean compareAndSet(long expect, long update) { method in class:AtomicLong 129 * only rarely an appropriate alternative to {@code compareAndSet}. 148 if (compareAndSet(current, next)) 162 if (compareAndSet(current, next)) 177 if (compareAndSet(current, next)) 191 if (compareAndSet(current, next)) 205 if (compareAndSet(current, next)) 220 if (compareAndSet(current, next))
|
H A D | AtomicLongArray.java | 136 public final boolean compareAndSet(int i, long expect, long update) { method in class:AtomicLongArray 150 * only rarely an appropriate alternative to {@code compareAndSet}. 158 return compareAndSet(i, expect, update);
|
H A D | AtomicLongFieldUpdater.java | 21 * <p>Note that the guarantees of the {@code compareAndSet} 26 * {@code compareAndSet} and {@code set} on the same updater. 65 * other calls to {@code compareAndSet} and {@code set}, but not 75 public abstract boolean compareAndSet(T obj, long expect, long update); method in class:AtomicLongFieldUpdater 81 * other calls to {@code compareAndSet} and {@code set}, but not 86 * only rarely an appropriate alternative to {@code compareAndSet}. 100 * store with respect to subsequent invocations of {@code compareAndSet}. 137 if (compareAndSet(obj, current, newValue)) 153 if (compareAndSet(obj, current, next)) 169 if (compareAndSet(ob 292 public boolean compareAndSet(T obj, long expect, long update) { method in class:AtomicLongFieldUpdater.CASUpdater 386 public boolean compareAndSet(T obj, long expect, long update) { method in class:AtomicLongFieldUpdater.LockedUpdater [all...] |
H A D | AtomicMarkableReference.java | 88 * only rarely an appropriate alternative to {@code compareAndSet}. 100 return compareAndSet(expectedReference, newReference, 116 public boolean compareAndSet(V expectedReference, method in class:AtomicMarkableReference
|
H A D | AtomicReferenceArray.java | 151 public final boolean compareAndSet(int i, E expect, E update) { method in class:AtomicReferenceArray 165 * only rarely an appropriate alternative to {@code compareAndSet}. 173 return compareAndSet(i, expect, update);
|
H A D | AtomicStampedReference.java | 88 * only rarely an appropriate alternative to {@code compareAndSet}. 100 return compareAndSet(expectedReference, newReference, 116 public boolean compareAndSet(V expectedReference, method in class:AtomicStampedReference
|