public interface DebugHistogram
Modifier and Type | Interface and Description |
---|---|
static class |
DebugHistogram.CountedValue
A value and a frequency.
|
static interface |
DebugHistogram.Printer
Interface for a service that can render a visualization of a histogram.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Object value)
Increments the count for a given value.
|
void |
add(Object value,
long count) |
String |
getName()
Gets the name specified when this objected was created.
|
List<DebugHistogram.CountedValue> |
getValues()
Gets a list of the counted values, sorted in descending order of frequency.
|
List<DebugHistogram.CountedValue> getValues()