private void calculateShiftsToEnroll(List shiftIdsToEnroll, final List shiftEnrollments, List filteredShiftsIdsToEnroll)
private List calculateShiftsToEnroll(List shiftIdsToEnroll, List shiftEnrollments, List filteredShiftsIdsToEnroll)
    private void calculateShiftsToEnroll(List shiftIdsToEnroll,            final List shiftEnrollments, List filteredShiftsIdsToEnroll)    {        filteredShiftsIdsToEnroll = (List) CollectionUtils.select(                shiftIdsToEnroll, new Predicate()                {                    public boolean evaluate(Object arg0)                    {                        final Integer shiftId = (Integer) arg0;                        if (CollectionUtils.exists(shiftEnrollments,                                new Predicate()                                {                                    public boolean evaluate(Object arg0)                                    {                                        ITurnoAluno shiftStudent = (ITurnoAluno) arg0;                                        return shiftStudent.getShift()                                                .getIdInternal()                                                .equals(shiftId);                                    }                                }))                        {                            return false;                        }                        else                        {                            return true;                        }                    }                });    }