private void scoreWaypointResults(Collection<Waypoint> waypoints,SearchQuery query,Collection<ScoredResult> output){
  for (  Waypoint waypoint : waypoints) {
    double score=scoreWaypointResult(query,waypoint);
    output.add(new ScoredResult(waypoint,score));
  }
}

private void scoreWaypointResults ( Collection < Waypoint > waypoints , SearchQuery query , Collection < ScoredResult > output ) { for ( Waypoint waypoint : waypoints ) { double score = scoreWaypointResult ( query , waypoint ) ; output . add ( new ScoredResult ( waypoint , score ) ) ; } }
scores a collection of waypoint results .
