Searched refs:stamp (Results 1 – 1 of 1) sorted by relevance
25 final int stamp; field in AtomicStampedReference.Pair26 private Pair(T reference, int stamp) { in Pair() argument28 this.stamp = stamp; in Pair()30 static <T> Pair<T> of(T reference, int stamp) { in of() argument31 return new Pair<T>(reference, stamp); in of()63 return pair.stamp; in getStamp()76 stampHolder[0] = pair.stamp; in get()123 expectedStamp == current.stamp && in compareAndSet()125 newStamp == current.stamp) || in compareAndSet()137 if (newReference != current.reference || newStamp != current.stamp) in set()[all …]