net.sourceforge.combean.graph
Class NumberNode
java.lang.Object
net.sourceforge.combean.graph.NumberNode
- All Implemented Interfaces:
- Node
public class NumberNode
- extends Object
- implements Node
A node represented by an integer value.
Constructor Summary |
NumberNode(int nodeNum)
Construct a node with the given integer value. |
NumberNode
public NumberNode(int nodeNum)
- Construct a node with the given integer value.
- Parameters:
nodeNum
-
getNodeNum
public final int getNodeNum()
- Get the node number..
- Returns:
- Returns the node number.
equals
public final boolean equals(Object o)
- Overrides:
equals
in class Object
- See Also:
Object.equals(Object)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()