org.apache.accumulo.test.continuous
public class Histogram<T> extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected HashMap<T,org.apache.accumulo.test.continuous.HistData<T>> |
counts |
protected long |
sum |
Constructor and Description |
---|
Histogram() |
public void addPoint(T x)
public void addPoint(T x, long y)
public long getCount(T x)
public double getPercentage(T x)
public long getSum()
public void print(StringBuilder out)
public void save(String file) throws IOException
IOException
public void clear()
Copyright © 2015 Apache Accumulo Project. All Rights Reserved.