private void scoreTrackResults(Collection<Track> tracks,SearchQuery query,Collection<ScoredResult> output){
  for (  Track track : tracks) {
    double score=scoreTrackResult(query,track);
    output.add(new ScoredResult(track,score));
  }
}

private void scoreTrackResults ( Collection < Track > tracks , SearchQuery query , Collection < ScoredResult > output ) { for ( Track track : tracks ) { double score = scoreTrackResult ( query , track ) ; output . add ( new ScoredResult ( track , score ) ) ; } }
scores a collection of track results .
