public class GraphBuilder extends Object
| Constructor and Description |
|---|
GraphBuilder() |
GraphBuilder(int sz) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEdge(int from,
int to) |
Graph |
build() |
void |
clear() |
void |
removeEdge(int from,
int to) |
public void clear()
public void addEdge(int from,
int to)
public void removeEdge(int from,
int to)
public Graph build()
Copyright © 2015. All rights reserved.