MCPcopy Index your code
hub / github.com/antlr/codebuff / mergeEdgesFrom

Method mergeEdgesFrom

corpus/java/training/guava/graph/Graphs.java:235–237  ·  view source on GitHub ↗

Copies all edges from original into copy. Also copies all nodes incident to these edges.

(Network<N, E> original, MutableNetwork<N, E> copy)

Source from the content-addressed store, hash-verified

233 * to these edges.
234 */
235 public static <N, E> void mergeEdgesFrom(Network<N, E> original, MutableNetwork<N, E> copy) {
236 mergeEdgesFrom(original, copy, Predicates.alwaysTrue());
237 }
238
239 /**
240 * Copies all edges from {@code original} into {@code copy} that satisfy {@code edgePredicate}.

Callers

nothing calls this directly

Calls 6

alwaysTrueMethod · 0.95
filterMethod · 0.95
addEdgeMethod · 0.95
edgesMethod · 0.65
incidentNodesMethod · 0.65
checkNotNullMethod · 0.45

Tested by

no test coverage detected