IEnrolment enrolment = (IEnrolment) iterator.next();
IEnrollment enrolment = (IEnrollment) iterator.next();
	private List selectEnrollmentsInSpecializationAndSecundaryAreasCurricularCourses(		List enrollments,		List curricularCourses)	{		List enrollmentsToKeep = new ArrayList();		Iterator iterator = enrollments.iterator();		while(iterator.hasNext())		{			IEnrolment enrolment = (IEnrolment) iterator.next();			if (curricularCourses.contains(enrolment.getCurricularCourse()))			{				if (!enrollmentsToKeep.contains(enrolment))				{					enrollmentsToKeep.add(enrolment);				}			}		}				return enrollmentsToKeep;	}