code: public Set<TypedEdge<T>> getEdges(int vertex1, int vertex2) {
          SparseTypedEdgeSet<T> edges = vertexToEdges.get(vertex1);
          return (edges == null) 
              ? Collections.<TypedEdge<T>>emptySet()
              : edges.getEdges(vertex2);
      }
docs: {@inheritDoc}