question: public static List toEdges ( Collection dirEdges ) { List edges = new ArrayList ( ) ; for ( Iterator i = dirEdges . iterator ( ) ; i . hasNext ( ) ; ) { edges . add ( ( ( DirectedEdge ) i . next ( ) ) . parentEdge ) ; } return edges ; }
target:  Returns a List containing the parent Edge (possibly null) for each of the given DirectedEdges.