IEnrolment enrolment = (IEnrolment) iterator.next();
IEnrollment enrolment = (IEnrollment) iterator.next();
	private void calculateGroupsCreditsFromEnrollments(		IStudentCurricularPlan studentCurricularPlan,		List studentApprovedEnrollments,		List studentCurrentSemesterEnrollments,		HashMap creditsInScientificAreas,		HashMap creditsInSpecializationAreaGroups,		HashMap creditsInSecundaryAreaGroups)		throws ExcepcaoPersistencia	{		List enrollments = new ArrayList();		enrollments.addAll(studentApprovedEnrollments);		enrollments.addAll(studentCurrentSemesterEnrollments);		Iterator iterator = enrollments.iterator();		while (iterator.hasNext())		{			IEnrolment enrolment = (IEnrolment) iterator.next();			ICurricularCourse curricularCourse = enrolment.getCurricularCourse();			if (curricularCourseBelongsToAScientificAreaPresentInMoreThanOneBranch(curricularCourse, studentCurricularPlan))			{				sumCreditsInScientificArea(curricularCourse, creditsInScientificAreas);			} else			{				sumCreditsInAreasGroups(					curricularCourse,					studentCurricularPlan,					creditsInSecundaryAreaGroups,					creditsInSpecializationAreaGroups);			}		}	}