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