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