src/main/java/de/dfki/lt/loot/digraph/DiGraph.java
public Iterable<Edge<EI>> findEdges(
      int vertex,
      EI anEdgeInfo,
      Comparator<EI> comp) {
    return new FilteredIterator<Edge<EI>, EI>(getOutEdges(vertex), anEdgeInfo,
        comp, (Function<Edge<EI>, EI>) e -> e.getInfo());
  }
/**
   * This returns all edges emerging from vertex where the edge info is
   * compatible to the given edge info according to the given predicate.
   *
   * @param anEdgeInfo the <code>EdgeInfo</code> for which to find matching
   * edges
   * @param binPred a {@link BinaryPredicate} used to compare the edge infos
   * @return a <code>List</code> of {@link Edge}s with matching edges
   */
This returns all edges emerging from vertex where the edge info is
compatible to the given edge info according to the given predicate.

@param anEdgeInfo the EdgeInfo for which to find matching
edges
@param binPred a  BinaryPredicate used to compare the edge infos
@return a List of  Edges with matching edges
This returns all edges emerging from vertex where the edge info is compatible to the given edge info according to the given predicate . @param anEdgeInfo the EdgeInfo for which to find matching edges @param binPred a BinaryPredicate used to compare the edge infos @return a List of Edges with matching edges
public Iterable<Edge<EI>> findEdges(
      int vertex,
      EI anEdgeInfo,
      Comparator<EI> comp) {
    return new FilteredIterator<Edge<EI>, EI>(getOutEdges(vertex), anEdgeInfo,
        comp, (Function<Edge<EI>, EI>) e -> e.getInfo());
  }
public Iterable < Edge < EI > > findEdges ( int vertex , EI anEdgeInfo , Comparator < EI > comp ) { return new FilteredIterator < Edge < EI > , EI > ( getOutEdges ( vertex ) , anEdgeInfo , comp , ( Function < Edge < EI > , EI > ) e -> e . getInfo ( ) ) ; }
This returns all edges emerging from vertex where the edge info is
 compatible to the given edge info according to the given predicate.
This returns all edges emerging from vertex where the edge info is compatible to the given edge info according to the given predicate .