org.jboss.dna.graph.session
Class GraphSession.NodeId
java.lang.Object
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
.
GraphSession.NodeId
public GraphSession.NodeId(long nodeId)
- Create a new node identifier.
- Parameters:
nodeId
- unique identifier
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-2010 JBoss, a division of Red Hat. All Rights Reserved.