|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectj_waste.network.GUID
This class represents a globally unique identifier (GUID) in J-WASTE. GUIDs are used to identify conversations over the WASTE network. For instance all packets associated with a specific file transfer will have the same GUID.
| Constructor Summary | |
GUID(byte[] guid)
Constructs a new GUID from the specified byte array. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Compares the specified Object with this Object for equality. |
byte[] |
getByteArray()
Returns a byte array representation of this GUID. |
int |
hashCode()
Returns the hash code value for this GUID. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GUID(byte[] guid)
guid - the byte array of length 16 representing the GUID.| Method Detail |
public byte[] getByteArray()
public boolean equals(java.lang.Object o)
o - The Object to be compared to this Object.
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||