if (runnersInRunGroup.size() == 3) {
if (runnersInRunGroup.size() >= 3) {
	private void getGroupCompetitionResults(Table table, int row) {		try {			List runs = new ArrayList(getRunBiz().getRunnersByDistance(distance, null));						Map runGroups = new HashMap();			RunGroupMap map = new RunGroupMap();						Participant runner;			RunGroup runnerGroup;			Iterator iterator = runs.iterator();			while (iterator.hasNext()) {				runner = (Participant) iterator.next();				if (runner.getRunGroupName() != null && runner.getRunGroupName().trim().length() > 0) {					runnerGroup = (RunGroup) runGroups.get(runner.getRunGroupName());					if (runnerGroup == null) {						runnerGroup = new RunGroup(runner.getRunGroupName());						runGroups.put(runner.getRunGroupName(), runnerGroup);					}										map.put(runnerGroup, runner);				}			}			List groupList = new ArrayList(map.keySet());			Collections.sort(groupList, new RunGroupComparator(map));			iterator = groupList.iterator();			Participant run;			int num = 1;			int count = 0;			Iterator runIter;			Collection runnersInRunGroup;			RunGroup runGroup;			while (iterator.hasNext()) {				runGroup = (RunGroup) iterator.next();				runnersInRunGroup = map.getCollection(runGroup);				if (runnersInRunGroup.size() == 3) {					row = insertRunGroupIntoTable(table, row, runGroup.getGroupName() + " - " + runGroup.getCounter().toString());					System.out.println("- Inserting group to table: " + runGroup.getGroupName());						runIter = runnersInRunGroup.iterator();					num = 1;					count = 0;					while (runIter.hasNext()) {						run = (Participant) runIter.next();						num = runs.indexOf(run);						row = insertRunIntoTable(table, row, run, num, count+1);						count++;					}					System.out.println("- Inserting runners from group to table");				}			}		}		catch (Exception e) {			e.printStackTrace();		}	}