public class Graph<K> extends Object
| Constructor and Description |
|---|
Graph() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectNodes(K from,
K to) |
GraphNode<K> |
createNode(K key) |
GraphNode<K> |
createRoot(K key) |
GraphNode<K> |
getNode(K key) |
Collection<GraphNode<K>> |
getNodes() |
GraphNode<K> |
getRoot() |
Copyright © 2017. All rights reserved.