| Modifier and Type | Method and Description |
|---|---|
GraphBuilder<V,E,G> |
GraphBuilder.addEdge(V a,
V b) |
GraphBuilder<V,E,G> |
GraphBuilder.addEdge(V a,
V b,
E edge) |
GraphBuilder<V,E,G> |
GraphBuilder.addEdgeChain(V a,
V b,
V... other) |
GraphBuilder<V,E,G> |
GraphBuilder.addVertex(V v) |
GraphBuilder<V,E,G> |
GraphBuilder.addVertices(V a,
V b,
V... other) |
static <V,E,G extends org.jgrapht.Graph<V,E>> |
GraphBuilder.of(G graph) |
static <V> GraphBuilder<V,org.jgrapht.graph.DefaultEdge,org.jgrapht.graph.DefaultDirectedGraph<V,org.jgrapht.graph.DefaultEdge>> |
GraphBuilder.withDirectedGraph() |
static <V,E> GraphBuilder<V,E,org.jgrapht.graph.DefaultDirectedGraph<V,E>> |
GraphBuilder.withDirectedGraph(Class<E> edgeType) |
| Modifier and Type | Method and Description |
|---|---|
static <V> Supplier<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 |
LazyGraphBuilder.build(Consumer<? super GraphBuilder<V,E,?>> graphBuilderConsumer) |
<T> G |
LazyGraphBuilder.build(Iterable<T> src,
BiConsumer<? super GraphBuilder<V,E,?>,T> forEach) |
static <V,E,G extends org.jgrapht.Graph<V,E>> |
Graphs.with(Supplier<GraphBuilder<V,E,G>> graphSupplier) |
| Constructor and Description |
|---|
LazyGraphBuilder(Supplier<GraphBuilder<V,E,G>> graphSupplier) |
Copyright © 2023. All rights reserved.