|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.util.uuid.UUID
A Universally Unique IDentifier. UUIDs should be generated using UuidGenerators. UUIDs respond to the object equals and hashCode methods in a consistent way, so that two instances created from the same existing UUID string will be considered equal.
Field Summary | |
private Integer |
hashCode_
|
private String |
uuid_
|
Constructor Summary | |
UUID(String existing_uuid)
Create an instance with an existing string representation. |
Method Summary | |
boolean |
equals(Object other)
Returns true if this UUID is value-equal to the other UUID or if they are the same instance. |
int |
hashCode()
A hash code to distinguish UUIDs. |
String |
toString()
Simply the string representation of the UUID. |
private String |
uuid()
The string value of the UUID. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private final String uuid_
private Integer hashCode_
Constructor Detail |
public UUID(String existing_uuid)
Method Detail |
public boolean equals(Object other)
private final String uuid()
public int hashCode()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |