Class: AtomicFloat
This page documents the methods and fields available in the AtomicFloat class.
Members
| Signature | Description |
|---|---|
AtomicFloat() | Creates a new instance of AtomicFloat. |
AtomicFloat(float) | Creates a new instance of AtomicFloat. |
compareAndSet(float, float) | Compares this instance with another for equality/order. |
doubleValue() | Performs the doubleValue operation. |
floatValue() | Performs the floatValue operation. |
get() | Returns the current value. |
getAndSet(float) | Returns the current and set. |
intValue() | Performs the intValue operation. |
longValue() | Performs the longValue operation. |
set(float) | Sets or updates the the value. |
toString() | Returns the string representation. |
weakCompareAndSet(float, float) | Performs the weakCompareAndSet operation using the provided parameters (expect, update). |