| Modifier and Type | Method and Description |
|---|---|
Graphs.GraphBuilder<V,E,G> |
Graphs.GraphBuilder.addEdge(V a,
V b) |
Graphs.GraphBuilder<V,E,G> |
Graphs.GraphBuilder.addEdge(V a,
V b,
E edge) |
Graphs.GraphBuilder<V,E,G> |
Graphs.GraphBuilder.addEdgeChain(V a,
V b,
V... other) |
Graphs.GraphBuilder<V,E,G> |
Graphs.GraphBuilder.addVertex(V v) |
Graphs.GraphBuilder<V,E,G> |
Graphs.GraphBuilder.addVertices(V a,
V b,
V... other) |
| Modifier and Type | Method and Description |
|---|---|
static <V> Supplier<Graphs.GraphBuilder<V,org.jgrapht.graph.DefaultEdge,org.jgrapht.graph.DefaultDirectedGraph<V,org.jgrapht.graph.DefaultEdge>>> |
Graphs.directedGraphBuilder() |
static <V,E,G extends org.jgrapht.Graph<V,E>> |
Graphs.graphBuilder(Supplier<G> graphSupplier) |
| Modifier and Type | Method and Description |
|---|---|
G |
Graphs.WithGraphBuilder.build(Consumer<? super Graphs.GraphBuilder<V,E,?>> graphBuilderConsumer) |
<T> G |
Graphs.WithGraphBuilder.build(Iterable<T> src,
BiConsumer<? super Graphs.GraphBuilder<V,E,?>,T> forEach) |
static <V,E,G extends org.jgrapht.Graph<V,E>> |
Graphs.with(Supplier<Graphs.GraphBuilder<V,E,G>> graphSupplier) |
| Constructor and Description |
|---|
WithGraphBuilder(Supplier<Graphs.GraphBuilder<V,E,G>> graphSupplier) |
Copyright © 2022. All rights reserved.