|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.tools.IDGenerator
Produces unique IDs (used to generate Request-IDs, for example).
Field Summary | |
private long |
id
The current ID. |
private static IDGenerator |
instance
The only instance of this class. |
Constructor Summary | |
IDGenerator()
|
Method Summary | |
long |
generateUniqueID()
Generates a completly unique ID. |
static IDGenerator |
getInstance()
Returns the only instance of this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static IDGenerator instance
private long id
Constructor Detail |
public IDGenerator()
Method Detail |
public static IDGenerator getInstance()
public long generateUniqueID()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |