code: public Set<WeightedDirectedTypedEdge<T>> getEdges(int vertex) {
          DisjointSets<WeightedDirectedTypedEdge<T>> edges =
              new DisjointSets<WeightedDirectedTypedEdge<T>>();
          edges.append(inEdges.get(vertex));
          edges.append(outEdges.get(vertex));
          return edges;
      }
docs: {@inheritDoc}