addEdges abstract method

void addEdges(
  1. Iterable<WeightedEdge<V>> edges
)

Adds multiple edges to the graph.

Equivalent to calling addEdge for each edge in edges, but some implementations may be able to optimize this operation.

Implementation

void addEdges(Iterable<WeightedEdge<V>> edges);