RunningAverage average = entry2.getValue();
if (matchesItemID1) {
if (remove) {
average.removeDatum(prefDelta);
} else {
average.changeDatum(-prefDelta);
}
} else if (itemID == entry2.getKey()) {
if (remove) {
average.removeDatum(-prefDelta);
} else {