public class UUIDLite extends Object implements Comparable<Object>, Serializable
The methods to parse a UUID from a String and present it as a String are taken from the java.util.UUID class. http://www.docjar.com/html/api/java/util/UUID.java.html
| Constructor and Description |
|---|
UUIDLite() |
UUIDLite(long msb,
long lsb) |
UUIDLite(String s) |
UUIDLite(UUIDLite u) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj)
Compares this UUID to the specified UUID.
|
void |
deserializeIt(DmcInputStreamIF dis) |
boolean |
equals(Object object) |
long |
getLeastSignificantBits() |
long |
getMostSignificantBits() |
int |
hashCode() |
void |
serializeIt(DmcOutputStreamIF dos) |
String |
toString()
Returns a string representation of this UUID in the following format, as
per RFC 4122.
|
public UUIDLite()
public UUIDLite(String s) throws DmcValueException
DmcValueExceptionpublic UUIDLite(UUIDLite u)
public UUIDLite(long msb,
long lsb)
public long getMostSignificantBits()
public long getLeastSignificantBits()
public String toString()
public int compareTo(Object obj)
Compares this UUID to the specified UUID. The natural ordering of UUIDs is based upon the value of the bits from most significant to least significant.
compareTo in interface Comparable<Object>obj - the UUID to compare to.uuid.public void serializeIt(DmcOutputStreamIF dos) throws Exception
Exceptionpublic void deserializeIt(DmcInputStreamIF dis) throws Exception
ExceptionCopyright © 2023. All rights reserved.