public final class GUID
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static GUID |
GUID_NULL
The NULL GUID
|
static GUID |
GUID_STDOLE
The GUID of STDOLE
|
Constructor and Description |
---|
GUID(java.lang.String str)
Parses the string representation "
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}" or "
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx".
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Returns true if the given object is a
GUID object and has the
same bit representation. |
int |
hashCode() |
java.lang.String |
toString()
Returns the GUID in the "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}"
format.
|
public static final GUID GUID_NULL
public static final GUID GUID_STDOLE
public GUID(java.lang.String str)
str
- the String to be parsedpublic boolean equals(java.lang.Object o)
GUID
object and has the
same bit representation.equals
in class java.lang.Object
o
- the second objectpublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object