Package bftsmart.tom.util
Class Storage
- java.lang.Object
-
- bftsmart.tom.util.Storage
-
public class Storage extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Storage(int size)
Creates a new instance of Storage
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAverage(boolean limit)
int
getCount()
double
getDP(boolean limit)
long
getMax(boolean limit)
long
getPercentile(double percentile)
long[]
getValues()
void
reset()
void
store(long value)
-
-
-
Method Detail
-
getCount
public int getCount()
-
reset
public void reset()
-
store
public void store(long value)
-
getAverage
public double getAverage(boolean limit)
-
getDP
public double getDP(boolean limit)
-
getValues
public long[] getValues()
-
getMax
public long getMax(boolean limit)
-
getPercentile
public long getPercentile(double percentile)
-
-