java.lang.Object
com.pervasive.datarush.commons.util.GUID
- All Implemented Interfaces:
Serializable
A globally unique identifier. Every identifier is distinct from all other
identifiers.
The implementation is built using VMID and has the same constraints
as described in the Javadoc for that class.
- See Also:
-
Method Summary
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
parse
Creates a new identifier from a string.This method can be used to produce multiple objects with the same ID, violating uniqueness. It is intended to be used for testing purposes only in cases where the same ID is required every time.
- Parameters:
str- the identifier to use- Returns:
- a new identifier
-
next
Generates a new unique identifier. Identifiers are generated usingVMIDand therefore follow the same constraints enumerated within the Javadoc for that class.- Returns:
- a new unique identifier
-