SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

org.sourcejammer.util
Class Counter

java.lang.Object
  |
  +--org.sourcejammer.util.Counter
All Implemented Interfaces:
java.io.Serializable

public class Counter
extends java.lang.Object
implements java.io.Serializable

Returns an incrimenting unique id, starting at 1.

See Also:
Serialized Form

Constructor Summary
Counter()
           
 
Method Summary
 long getNextValue()
          Returns the next unique value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Counter

public Counter()
Method Detail

getNextValue

public long getNextValue()
Returns the next unique value.

SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan