} for (int  j = 0; j < result.size(); j++) { System.out.println("turma distinta: " + (ITurma) result.get(j)); }
}
  private List getDistinctClassesFromListOfClasses(List classes) {    Iterator i = classes.iterator();    List result = new ArrayList();    while (i.hasNext()) {      ITurma thisClass = (ITurma) i.next();      Iterator resultIterator = result.iterator();      boolean containsOneOfThese = false;      while (resultIterator.hasNext()) {	ITurma resultClass = (ITurma) resultIterator.next();	if(thisClass.equals(resultClass)){	  containsOneOfThese = true;	  break;	}      }      if (!containsOneOfThese){	result.add(thisClass);      }    }    for (int  j = 0; j < result.size(); j++) {      System.out.println("turma distinta: " + (ITurma) result.get(j));    } // end of for (int  = 0;  < ; ++)        return result;  }