public class StepDouble extends Object
Constructor and Description |
---|
StepDouble(double init,
Clock clock,
long step)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
AtomicDouble |
getCurrent()
Get the AtomicDouble for the current bucket.
|
double |
poll()
Get the value for the last completed interval.
|
String |
toString() |
public StepDouble(double init, Clock clock, long step)
public AtomicDouble getCurrent()
public double poll()