Package ome.util
Class Counter
- java.lang.Object
-
- ome.util.Counter
-
public class Counter extends java.lang.ObjectA simple integral counter that can be incremented. Its properties include,- unbounded
increment()typically does not require a heap allocation- not thread-safe.
- Since:
- 5.4.2
-
-
Constructor Summary
Constructors Constructor Description Counter()Create a new counter starting at zero.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigIntegerasBigInteger()voidincrement()Increment the value of this counter by one.voidreset()Reset this counter to zero.
-