code: public Set<TypedEdge<T>> getEdges(final T type) {    
          final Set<TypedEdge<T>> s = new HashSet<TypedEdge<T>>();
          edges.forEachEntry(new TIntObjectProcedure<Set<T>>() {
                  public boolean execute(int v, Set<T> types) {
                      if (types.contains(type))
                          s.add(new SimpleTypedEdge<T>(
                                        type, v, rootVertex));
                      return true;
                  }
              });
          return s;
      }
docs: {@inheritDoc}