T
- public static final class Graph.Node<T> extends Object
Constructor and Description |
---|
Graph.Node(T val)
Constructs the node with the given node Id
|
Modifier and Type | Method and Description |
---|---|
void |
addInComingNode(Graph.Node<T> node)
Add the given node, to the set of incoming nodes
|
void |
addOutGoingNode(Graph.Node<T> node)
add the given to the set of out going nodes
|
boolean |
equals(Object obj) |
Set<Graph.Node<T>> |
getInComingNodes() |
Set<Graph.Node<T>> |
getOutGoingNodes() |
T |
getValue() |
int |
hashCode() |
String |
toString() |
public Graph.Node(T val)
val
- public void addInComingNode(Graph.Node<T> node)
node
- public void addOutGoingNode(Graph.Node<T> node)
node
- public Set<Graph.Node<T>> getInComingNodes()
public Set<Graph.Node<T>> getOutGoingNodes()
public T getValue()
Copyright © 2016 Dexecutor. All rights reserved.