.originals(modifiedAllocations);
IAssignedEffortForResource discounting = AssignedEffortForResource
.effortDiscounting(originals);
List<ResourceAllocation<?>> beingModified = ModifiedAllocation
.modified(modifiedAllocations);
WithTheLoadOf allNewLoad = AssignedEffortForResource
.withTheLoadOf(beingModified);
List<GenericResourceAllocation> generic = ResourceAllocation.getOfType(
GenericResourceAllocation.class, beingModified);
for (GenericResourceAllocation each : generic) {
each.setAssignedEffortForResource(AssignedEffortForResource.sum(
allNewLoad.withoutConsidering(each), discounting));
}
}