cgl.narada.wsinfra.util
Class UniqueIntGenerator

java.lang.Object
  extended bycgl.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.


Field Summary
static UniqueIntGenerator instance
           
 
Method Summary
static UniqueIntGenerator getInstance()
           
 int getNext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final UniqueIntGenerator instance
Method Detail

getInstance

public static UniqueIntGenerator getInstance()

getNext

public int getNext()


===== END OF BOTTOM NAVBAR ======= -->