|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.arjuna.ats.arjuna.common.Uid
Implements a unique identity class.
Constructor Summary | |
Uid()
Create a new instance. |
|
Uid(java.lang.String uidString)
Create Uid from string representation. |
|
Uid(java.lang.String uidString,
boolean errsOk)
Create Uid from string representation. |
|
Uid(Uid copyFrom)
Create a copy of the specified identifier. |
Method Summary | |
java.lang.Object |
clone()
Create a copy of this instance. |
void |
copy(Uid toCopy)
Copy the specified Uid over this instance. |
boolean |
equals(java.lang.Object o)
Override Object.equals |
boolean |
equals(Uid u)
|
java.lang.String |
fileStringForm()
|
boolean |
greaterThan(Uid u)
|
int |
hashCode()
Override Object.hashCode. |
boolean |
lessThan(Uid u)
|
boolean |
notEquals(Uid u)
|
static Uid |
nullUid()
Return a null Uid (0:0:0:0) |
void |
pack(OutputBuffer packInto)
Routines to pack and unpack Uids into Buffers (for RPC, storage etc) |
void |
print(java.io.PrintStream strm)
Print a human-readable form of the Uid. |
java.lang.String |
stringForm()
|
java.lang.String |
toString()
Same as stringForm() |
void |
unpack(InputBuffer unpackFrom)
|
boolean |
valid()
Is the Uid valid? |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Uid()
public Uid(Uid copyFrom)
public Uid(java.lang.String uidString)
public Uid(java.lang.String uidString, boolean errsOk)
Method Detail |
public int hashCode()
public void pack(OutputBuffer packInto) throws java.io.IOException
java.io.IOException
public void unpack(InputBuffer unpackFrom) throws java.io.IOException
java.io.IOException
public void print(java.io.PrintStream strm)
public java.lang.String stringForm()
public java.lang.String fileStringForm()
public java.lang.String toString()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public void copy(Uid toCopy)
public boolean equals(java.lang.Object o)
public boolean equals(Uid u)
public boolean notEquals(Uid u)
public boolean lessThan(Uid u)
public boolean greaterThan(Uid u)
public final boolean valid()
public static final Uid nullUid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |