cartago
Class NodeId

java.lang.Object
  extended by cartago.NodeId
All Implemented Interfaces:
java.io.Serializable

public class NodeId
extends java.lang.Object
implements java.io.Serializable

Identifier of a CArtAgO node

Author:
aricci
See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.UUID getId()
          Get the unique identifier of the node
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getId

public java.util.UUID getId()
Get the unique identifier of the node

Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


>DEIS - University of Bologna