public class Histogram extends Object
Modifier and Type | Field and Description |
---|---|
long[] |
bins |
float[] |
breaks |
long |
count |
float |
max |
float |
min |
Constructor and Description |
---|
Histogram(float[] breaks) |
Histogram(float[] breaks,
long[] bins,
float min,
float max) |
Modifier and Type | Method and Description |
---|---|
HistogramVisual |
asVisual()
Returns a visual representation of a histogram object.
|
boolean |
equals(Object o) |
Histogram |
fold(Histogram h) |
static Histogram |
fromBytes(byte[] bytes) |
static Histogram |
fromBytes(ByteBuffer buf) |
int |
hashCode() |
void |
offer(float d) |
byte[] |
toBytes() |
String |
toString() |
public float[] breaks
public long[] bins
public transient long count
public float min
public float max
public Histogram(float[] breaks)
public Histogram(float[] breaks, long[] bins, float min, float max)
public void offer(float d)
public byte[] toBytes()
public HistogramVisual asVisual()
public static Histogram fromBytes(byte[] bytes)
public static Histogram fromBytes(ByteBuffer buf)
Copyright © 2011–2015. All rights reserved.