BedDesignation leftBedDesignation = leftIt.next();
for (ListIterator<BedDesignation> rightIt = bedDesignationList.listIterator(leftIt.nextIndex());
rightIt.hasNext();) {
BedDesignation rightBedDesignation = rightIt.next();
if (leftBedDesignation.getAdmissionPart().calculateSameNightCount(rightBedDesignation.getAdmissionPart()) > 0) {
moveList.add(new BedDesignationSwitchMove(leftBedDesignation, rightBedDesignation));
}
}
}
return moveList;
}