public class GraphBuilder extends Object
| Constructor and Description |
|---|
GraphBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEdge(Edge edge) |
void |
addNode(Node node) |
Graph |
build() |
Collection<Node> |
getNodes() |
public void addEdge(Edge edge)
public void addNode(Node node)
public Graph build()
public Collection<Node> getNodes()
Copyright © 2017–2018 Committed. All rights reserved.