List runGroups = new ArrayList(getGroupBiz().getChildGroups(distance)); List runs = new ArrayList(); Iterator runGroupIter = runGroups.iterator();  while (runGroupIter.hasNext()) { Group runGroup = (Group) runGroupIter.next(); Collection runners = getRunBiz().getRunnersByDistance(distance, runGroup); runs.addAll(runners); }
Collection runs = getRunBiz().getRunnersByDistance(distance, null);
	private void getTotalResults(Table table, int row) {		try {			List runGroups = new ArrayList(getGroupBiz().getChildGroups(distance));			List runs = new ArrayList();			Iterator runGroupIter = runGroups.iterator();						while (runGroupIter.hasNext()) {				Group runGroup = (Group) runGroupIter.next();				Collection runners = getRunBiz().getRunnersByDistance(distance, runGroup);				runs.addAll(runners);			}			row = insertRunGroupIntoTable(table, row, "results.all_participants");			Iterator runIter = runs.iterator();			int num = 1;			while (runIter.hasNext()) {				Run run = (Run) runIter.next();				row = insertRunIntoTable(table, row, run, num, num);				num++;			}		}		catch (Exception e) {			e.printStackTrace();		}	}