Edge<V>.endpoints constructor

const Edge<V>.endpoints(
  1. V endpoint1,
  2. V endpoint2
)

Implementation

const Edge.endpoints(V endpoint1, V endpoint2) : id = (endpoint1, endpoint2);