public static class DependencyGraph.GraphPruner extends Object
| Constructor and Description |
|---|
GraphPruner(DependencyGraph source)
Create a
DependencyGraph.GraphPruner for building a new DependencyGraph by (destructively!) removing
edges from an existing DependencyGraph. |
| Modifier and Type | Method and Description |
|---|---|
DependencyGraph.GraphPruner |
remove(Key<?> key)
Removes the given key, all its incoming edges, and all its outgoing edges, from the graph.
|
DependencyGraph |
update() |
public GraphPruner(DependencyGraph source)
DependencyGraph.GraphPruner for building a new DependencyGraph by (destructively!) removing
edges from an existing DependencyGraph.source - the DependencyGraph to use as the base (will be mutated)public DependencyGraph.GraphPruner remove(Key<?> key)
public DependencyGraph update()
Copyright © 2008–2018. All rights reserved.