code: public Set<Edge> getEdges(int vertex) {
          return (edges.contains(vertex))
              ? Collections.<Edge>singleton(new SimpleEdge(rootVertex, vertex))
              : Collections.<Edge>emptySet();
      }
docs: {@inheritDoc}