public Collection<GraphNode> computeSuccessorNodes(){
  Collection<GraphNode> result=Lists.newArrayList();
  for (  GraphEdge edge : getForwardEdges()) {
    result.add(edge.getTail());
  }
  for (  GraphEdge edge : getReverseEdges()) {
    result.add(edge.getHead());
  }
  return result;
}

public Collection < GraphNode > computeSuccessorNodes ( ) { Collection < GraphNode > result = Lists . newArrayList ( ) ; for ( GraphEdge edge : getForwardEdges ( ) ) { result . add ( edge . getTail ( ) ) ; } for ( GraphEdge edge : getReverseEdges ( ) ) { result . add ( edge . getHead ( ) ) ; } return result ; }
generate the current collection of successor nodes from the collection of successor edges .
