Java com.google.common.util.concurrent AtomicDouble fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.util.concurrent AtomicDouble fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.util.concurrent AtomicDouble.

The text is from its open source code.

Subclass

com.google.common.util.concurrent.AtomicDouble has subclasses.
Click this link to see all its subclasses.

Constructor

AtomicDouble(double initialValue)
Creates a new AtomicDouble with the given initial value.
AtomicDouble()
Creates a new AtomicDouble with initial value 0.0 .

Method

doubleaddAndGet(double delta)
Atomically adds the given value to the current value.
doubledoubleValue()
Returns the value of this AtomicDouble as a double .
floatfloatValue()
Returns the value of this AtomicDouble as a float after a narrowing primitive conversion.
doubleget()
Gets the current value.
voidset(double newValue)
Sets to the given value.