KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > concurrent > atomic > AtomicReference

java.util.concurrent.atomic
Class AtomicReference<V>

java.lang.Object
  extended by java.util.concurrent.atomic.AtomicReference<V>
All Implemented Interfaces:
Serializable

public AtomicReference()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AtomicReference(V initialValue)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final boolean compareAndSet(V expect,
                                   V update)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final V get()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final V getAndSet(V newValue)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final void set(V newValue)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final boolean weakCompareAndSet(V expect,
                                       V update)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags