com.kenmccrary.jtella
Class GUID

java.lang.Object
  |
  +--com.kenmccrary.jtella.GUID

public class GUID
extends java.lang.Object

Represents a unique ID


Constructor Summary
GUID()
          Construct a new GUID
GUID(short[] data)
          Create a guid from network data
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compare guids
 int hashCode()
          Produce a hashcode for this GUID
 java.lang.String toString()
          Returns a GUID as a String
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GUID

public GUID()
Construct a new GUID

GUID

public GUID(short[] data)
Create a guid from network data
Method Detail

equals

public boolean equals(java.lang.Object obj)
Compare guids
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Produce a hashcode for this GUID
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Returns a GUID as a String
Overrides:
toString in class java.lang.Object
Returns:
text form of guid