Class Counter

All Implemented Interfaces:
Externalizable, Serializable

public final class Counter extends Object implements Externalizable
A Counter can be used to increment and return an integer count. A Counter can be used in Anonymous inner classes if it is declared final, unlike an int, which once declared final cannot be modified.
See Also: