org.jboss.dna.graph.session
Class GraphSession.NodeId

java.lang.Object
  extended by org.jboss.dna.graph.session.GraphSession.NodeId
Enclosing class:
GraphSession<Payload,PropertyPayload>

@Immutable
public static final class GraphSession.NodeId
extends Object

An immutable identifier for a node, used within the GraphSession.


Constructor Summary
GraphSession.NodeId(long nodeId)
          Create a new node identifier.
 
Method Summary
 boolean equals(Object obj)
          
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphSession.NodeId

public GraphSession.NodeId(long nodeId)
Create a new node identifier.

Parameters:
nodeId - unique identifier
Method Detail

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2008-2009 JBoss, a division of Red Hat. All Rights Reserved.