public final class UID extends Object implements 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(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(DataInput in) |
String |
toString()
Get the string representation of this UID.
|
void |
write(DataOutput out) |
public UID()
public UID(short wellKnownId)
wellKnownId - the well known UID.public int hashCode()
hashCode in class ObjectObject.equals(Object),
System.identityHashCode(Object)public boolean equals(Object other)
equals in class Objectother - the Object to compare toObject.hashCode()public static UID read(DataInput in) throws IOException
IOExceptionpublic void write(DataOutput out) throws IOException
IOExceptionpublic String toString()
toString in class ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)