public class Counters extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Counters.Counter | 
| Constructor and Description | 
|---|
| Counters() | 
| Modifier and Type | Method and Description | 
|---|---|
| Counters.Counter | add(String name) | 
| void | addTo(Counters sub) | 
| boolean | count(String name,
     Comparable value)Add value to the named counter. | 
| Counters.Counter | get(String name) | 
| Counters | makeSubCounters() | 
| void | reset() | 
| void | show(Formatter f) | 
| String | toString() | 
public Counters.Counter add(String name)
public void addTo(Counters sub)
public boolean count(String name, Comparable value)
public Counters.Counter get(String name)
public Counters makeSubCounters()
public void reset()
public void show(Formatter f)