|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.util.Guid
public class Guid
This class is capable of generated what is very close to a globally unique ID. This adheres to no specification because we can't get access to the IEEE hardware address for the machine (otherwise we might adhere to the Network Working Group GUID standard created by Paul J. Leach, Microsoft, and Rich Salz).
Constructor Summary | |
---|---|
Guid()
|
Method Summary | |
---|---|
static java.lang.String |
getGUID(java.lang.Object obj)
Gets the next pseudo-globally unique ID. |
static void |
main(java.lang.String[] args)
Exerciser. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Guid()
Method Detail |
---|
public static java.lang.String getGUID(java.lang.Object obj)
obj
- an object to get a hashcode from for more randomness
public static void main(java.lang.String[] args)
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |