public class Counter
extends java.lang.Object
increment() typically does not require a heap allocation| Constructor and Description | 
|---|
Counter()
Create a new counter starting at zero. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.math.BigInteger | 
asBigInteger()  | 
void | 
increment()
Increment the value of this counter by one. 
 | 
void | 
reset()
Reset this counter to zero. 
 |