Modifier and Type | Method and Description |
---|---|
void |
addTo(Counters.Counter sub) |
boolean |
count(Comparable value) |
Integer |
getCount(Comparable key) |
Comparable |
getFirst() |
Comparable |
getLast() |
Comparable |
getMode() |
String |
getName() |
int |
getTotal() |
int |
getUnique() |
Set<Comparable> |
getValues() |
void |
reset() |
Counters.Counter |
setShowRange(boolean showRange) |
void |
show(Formatter f) |
String |
showRange() |
public Counter(String name)
public void addTo(Counters.Counter sub)
public boolean count(Comparable value)
public Integer getCount(Comparable key)
public Comparable getFirst()
public Comparable getLast()
@Nullable public Comparable getMode()
public String getName()
public int getTotal()
public int getUnique()
public Set<Comparable> getValues()
public void reset()
public Counters.Counter setShowRange(boolean showRange)
public void show(Formatter f)
public String showRange()