java.lang.Object
java.util.concurrent.atomic.AtomicStampedReference<V>
public AtomicStampedReference(V initialRef,
int initialStamp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean attemptStamp(V expectedReference,
int newStamp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean compareAndSet(V expectedReference,
V newReference,
int expectedStamp,
int newStamp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public V get(int[] stampHolder)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public V getReference()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int getStamp()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void set(V newReference,
int newStamp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean weakCompareAndSet(V expectedReference,
V newReference,
int expectedStamp,
int newStamp)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples