de.korelstar.math.graph
Class Node

java.lang.Object
  extended by de.korelstar.math.graph.Node
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Activity

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

Node of a graph

See Also:
Serialized Form

Constructor Summary
Node(java.lang.String name)
          creates a node
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
          Get the name of the node
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node(java.lang.String name)
creates a node

Parameters:
name - Name of the node
Method Detail

getName

public java.lang.String getName()
Get the name of the node

Returns:
Name of the node

equals

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

hashCode

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

toString

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