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 String getName()
public Counters.Counter setShowRange(boolean showRange)
public void reset()
public boolean count(Comparable value)
public void addTo(Counters.Counter sub)
public int getUnique()
public Set<Comparable> getValues()
public Integer getCount(Comparable key)
public Comparable getFirst()
public Comparable getLast()
@Nullable public Comparable getMode()
public int getTotal()
public void show(Formatter f)
public String showRange()