| Constructor and Description |
|---|
IntHistogram() |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(Integer value)
Add a new value to the Histogram.
|
List<Bucket<Integer>> |
getAllBuckets()
Return all of the buckets in the histogram
|
int |
getEntriesInRange(Integer start,
Integer end)
Get the number of values within a given range, including start and up to but not including end.
|
void |
removeValue(Integer value)
Removes a value from the Histogram
|
public List<Bucket<Integer>> getAllBuckets()
HistogramgetAllBuckets in interface Histogram<Integer>public void addValue(Integer value)
Histogrampublic void removeValue(Integer value)
HistogramremoveValue in interface Histogram<Integer>value - the value to removepublic int getEntriesInRange(Integer start, Integer end)
HistogramgetEntriesInRange in interface Histogram<Integer>start - the inclusive start of the rangeend - the non-inclusive end of the rangeCopyright © 2017. All rights reserved.