public class Node extends Object implements Data, Comparable<Node>, Serializable
Graph
,
Edge
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
Node.Type
Enumeration of the different types of implemented nodes.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Node node) |
boolean |
equals(Object o) |
Graph |
getGraph()
Returns the graph to which this node belongs.
|
String |
getName()
Returns the name of this node.
|
Node.Type |
getType()
Returns the type of the data object.
|
int |
hashCode() |
String |
toString() |
public String getName()
public Graph getGraph()
public int compareTo(Node node)
compareTo
in interface Comparable<Node>