Example usage for Java com.google.common.util.concurrent AtomicDouble fields, constructors, methods, implement or subclass
The text is from its open source code.
AtomicDouble(double initialValue) Creates a new AtomicDouble with the given initial value. | |
AtomicDouble() Creates a new AtomicDouble with initial value 0.0 . |
double | addAndGet(double delta) Atomically adds the given value to the current value. |
double | doubleValue() Returns the value of this AtomicDouble as a double . |
float | floatValue() Returns the value of this AtomicDouble as a float after a narrowing primitive conversion. |
double | get() Gets the current value. |
void | set(double newValue) Sets to the given value. |