public final class AtomicDouble extends Object
AtomicDouble class.
Constructor and Description |
---|
AtomicDouble()
Constructor for AtomicDouble.
|
AtomicDouble(double val)
Constructor for AtomicDouble.
|
Modifier and Type | Method and Description |
---|---|
double |
addAndGet(double val)
addAndGet.
|
double |
get()
get.
|
double |
maxAndGet(double val)
maxAndGet.
|
double |
minAndGet(double val)
minAndGet.
|
double |
mulAndGet(double val)
mulAndGet.
|
void |
set(double val)
set.
|
public AtomicDouble()
Constructor for AtomicDouble.
public AtomicDouble(double val)
Constructor for AtomicDouble.
val
- a double.public double get()
get.
public void set(double val)
set.
val
- a double.public double addAndGet(double val)
addAndGet.
val
- a double.public double mulAndGet(double val)
mulAndGet.
val
- a double.public double minAndGet(double val)
minAndGet.
val
- a double.public double maxAndGet(double val)
maxAndGet.
val
- a double.Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.