javautils
Class Counter

java.lang.Object
  |
  +--javautils.Counter

public class Counter
extends java.lang.Object

A simple counter for generating identifiers.


Constructor Summary
Counter()
           
 
Method Summary
 long next()
          Increments the counter and returns the incremented 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

next

public long next()

Increments the counter and returns the incremented value.