cgl.narada.wsinfra.util
Class UniqueIntGenerator
java.lang.Object
cgl.narada.wsinfra.util.UniqueIntGenerator
- public class UniqueIntGenerator
- extends Object
Some operations require the generation of unique integer values. Within a
given VM we need to ensure this uniqueness. This class achives that.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static final UniqueIntGenerator instance
getInstance
public static UniqueIntGenerator getInstance()
getNext
public int getNext()