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

Method mergeEdgesFrom

output/java_guava/1.4.17/Graphs.java:250–252  ·  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

248
249
250 public static <N, E> void mergeEdgesFrom(Network<N, E> original, MutableNetwork<N, E> copy) {
251 mergeEdgesFrom(original, copy, Predicates.alwaysTrue());
252 }
253
254 /**
255 * 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