public interface Histogram
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Returns the number of recorded values.
|
int |
getNumBins()
Returns the number of bins.
|
long |
getValue(int index)
Returns the value of the index.
|
void |
update(long value)
Updates the value in this histogram.
|
void update(long value)
value
- the new valuelong getCount()
long getValue(int index)
index
- the histogram bin indexIndexOutOfBoundsException
int getNumBins()
Copyright © 2017 The Apache Software Foundation. All rights reserved.