|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.safmq.UUID
public class UUID
An object to represent a universally unique identifier (UUID).
Field Summary | |
---|---|
int |
d1
|
short |
d2
|
short |
d3
|
byte[] |
d4
|
Constructor Summary | |
---|---|
UUID()
Default Constructor |
|
UUID(int d1,
short d2,
short d3,
byte[] d4)
Constructs the UUID from the passed values |
|
UUID(java.lang.String src)
Constructs from the String representation of a UUID. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Makes a clone copy of this object |
boolean |
equals(java.lang.Object o)
Compares this instance of UUID to another object. |
void |
read(java.io.DataInput in)
Reads the UUID from the DataInput. |
java.lang.String |
toString()
Prepares a string representation of this instance of UUID. |
void |
write(java.io.DataOutput out)
Writes the UUID to a DataOutput object. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int d1
public short d2
public short d3
public byte[] d4
Constructor Detail |
---|
public UUID()
public UUID(int d1, short d2, short d3, byte[] d4)
public UUID(java.lang.String src) throws java.lang.NumberFormatException, java.lang.IllegalArgumentException
src
-
java.lang.NumberFormatException
java.lang.IllegalArgumentException
Method Detail |
---|
public void write(java.io.DataOutput out) throws java.io.IOException
out
- The output object
java.io.IOException
- Thrown by a write call to the DataOutput object.public void read(java.io.DataInput in) throws java.io.IOException
in
- The input object
java.io.IOException
- Thrown by a read call to the DataInput object.public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Copyright Matthew J. Battey, 2004-2010; Powered By: |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |