public final class UID extends java.lang.Object implements java.io.Serializable
| Constructor and Description |
|---|
UID()
Create the new UID that would have the described features of the
uniqueness.
|
UID(short wellKnownId)
Create the new UID with the well known id (number).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
Compare this UID with another UID for equality (not equal to other types of
objects).
|
int |
hashCode()
Get the hashCode of this UID.
|
static UID |
read(java.io.DataInput in) |
java.lang.String |
toString()
Get the string representation of this UID.
|
void |
write(java.io.DataOutput out) |
public UID()
public UID(short wellKnownId)
wellKnownId - the well known UID.public int hashCode()
hashCode in class java.lang.ObjectObject.equals(Object),
System.identityHashCode(Object)public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - the Object to compare toObject.hashCode()public static UID read(java.io.DataInput in) throws java.io.IOException
java.io.IOExceptionpublic void write(java.io.DataOutput out) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)