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()
Histogram
getAllBuckets
in interface Histogram<Integer>
public void addValue(Integer value)
Histogram
public void removeValue(Integer value)
Histogram
removeValue
in interface Histogram<Integer>
value
- the value to removepublic int getEntriesInRange(Integer start, Integer end)
Histogram
getEntriesInRange
in interface Histogram<Integer>
start
- the inclusive start of the rangeend
- the non-inclusive end of the rangeCopyright © 2017. All rights reserved.