Package com.spotfire.server.api
Class Guid
java.lang.Object
com.spotfire.server.api.Guid
- All Implemented Interfaces:
Serializable
This class represents an universally unique identifier (UUID), also known as globally unique identifier (GUID), as
defined in RFC 4122. A UUID represents a 128-bit value and is either guaranteed to be different from all other
UUIDs/GUIDs generated until 3400 A.D., or extremely likely to be different.
- Since:
- 10.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newGuid
using the specified string representation as described in thetoString()
method. -
Method Summary
-
Constructor Details
-
Guid
Constructs a newGuid
using the specified string representation as described in thetoString()
method.- Parameters:
guid
- a string that specifies aGuid
- Throws:
IllegalArgumentException
- if guid does not conform to the string representation of aGuid
as described intoString()
- Since:
- 10.1
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
Returns aString
representation of thisGuid
. TheGuid
string representation is on the following format, where x represents a hexadecimal ([0-9][a-f][A-F]) digit, "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx".The returned string is always in lower case.
-