public class AverageMeasureProviderImpl extends java.lang.Object implements AverageMeasureProvider
AverageMeasure
when the getValue()
method is called.Constructor and Description |
---|
AverageMeasureProviderImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addSample(double value) |
void |
addSample(float value) |
void |
addSample(int value) |
void |
addSample(long value) |
void |
addSample(java.lang.Number value) |
java.lang.Object |
clone() |
AverageMeasure |
getValue() |
public void addSample(java.lang.Number value)
public void addSample(int value)
public void addSample(long value)
public void addSample(float value)
public void addSample(double value)
public AverageMeasure getValue()
getValue
in interface AverageMeasureProvider
AverageMeasure
instancepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException