HomeSort by relevance Sort by last modified time
    Searched full:expectedreference (Results 1 - 3 of 3) sorted by null

  /libcore/luni/src/main/java/java/util/concurrent/atomic/
AtomicMarkableReference.java 92 * @param expectedReference the expected value of the reference
98 public boolean weakCompareAndSet(V expectedReference,
102 return compareAndSet(expectedReference, newReference,
112 * @param expectedReference the expected value of the reference
118 public boolean compareAndSet(V expectedReference,
124 expectedReference == current.reference &&
152 * @param expectedReference the expected value of the reference
156 public boolean attemptMark(V expectedReference, boolean newMark) {
159 expectedReference == current.reference &&
161 casPair(current, Pair.of(expectedReference, newMark)))
    [all...]
AtomicStampedReference.java 90 * @param expectedReference the expected value of the reference
96 public boolean weakCompareAndSet(V expectedReference,
100 return compareAndSet(expectedReference, newReference,
110 * @param expectedReference the expected value of the reference
116 public boolean compareAndSet(V expectedReference,
122 expectedReference == current.reference &&
151 * @param expectedReference the expected value of the reference
155 public boolean attemptStamp(V expectedReference, int newStamp) {
158 expectedReference == current.reference &&
160 casPair(current, Pair.of(expectedReference, newStamp)))
    [all...]
  /prebuilts/sdk/13/
android.jar 

Completed in 296 milliseconds