Modifier and Type | Method and Description |
---|---|
void |
addNeighbor(Graph.Node<T> neighbor) |
void |
addPredecessor(T tm) |
Graph.Node<T> |
clone() |
T |
getObject() |
java.util.Map<T,T> |
getPredecessors() |
boolean |
hasPredecessors() |
boolean |
removePredecessor(T o) |
java.lang.String |
toString() |
public Node(T tm)
public void addNeighbor(Graph.Node<T> neighbor)
public Graph.Node<T> clone()
clone
in class java.lang.Object
public T getObject()
public boolean removePredecessor(T o)
public java.lang.String toString()
toString
in class java.lang.Object
public void addPredecessor(T tm)
public boolean hasPredecessors()