kom.tools.id
Class UniqueId

java.lang.Object
  |
  +--kom.tools.id.UniqueId

public class UniqueId
extends java.lang.Object

Generate a unique id


Field Summary
protected  long id
           
 
Constructor Summary
UniqueId()
           
 
Method Summary
 long nextId()
          Gets the next unique number
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

id

protected long id
Constructor Detail

UniqueId

public UniqueId()
Method Detail

nextId

public long nextId()
Gets the next unique number