com.croftsoft.core.math
Class Counter

java.lang.Object
  extended by com.croftsoft.core.math.Counter
All Implemented Interfaces:
Serializable

public final class Counter
extends Object
implements Serializable

An incrementable integer counter with no maximum limit.

Since:
2001-03-30
Version:
2001-03-30
See Also:
Serialized Form
Author:
David W. Croft

Constructor Summary
Counter()
           
Counter(BigInteger count)
           
 
Method Summary
 BigInteger getCount()
           
 BigInteger increment()
          Synchronized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Counter

public Counter(BigInteger count)

Counter

public Counter()
Method Detail

getCount

public BigInteger getCount()

increment

public BigInteger increment()
Synchronized.


CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)