Creates a mutable copy of graph, using the same nodes.
(Graph<N> graph)
| 129 | |
| 130 | |
| 131 | public static <N> MutableGraph<N> copyOf(Graph<N> graph) { |
| 132 | return copyOf(graph, Predicates.alwaysTrue()); |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * Creates a mutable copy of {@code graph}, using all of its elements that satisfy |