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 BedDesignationSwapMove(leftBedDesignation, rightBedDesignation));
}
}
}
return moveList;
}