checkType(newObj);
delegate.addObjectAtSamePosition(newObj, existingObj);
}
private boolean isAlreadyServiced(DestType type, RoadUser ru) {
final PDPModel pm = pdpModel.get();
boolean alreadyServiced = false;
if (type == DestType.PICKUP) {
alreadyServiced = pm.getParcelState((DefaultParcel) ru) == ParcelState.PICKING_UP
|| pm.getParcelState((DefaultParcel) ru) == ParcelState.IN_CARGO;
} else if (type == DestType.DELIVERY) {
alreadyServiced = pm.getParcelState((DefaultParcel) ru) == ParcelState.DELIVERING
|| pm.getParcelState((DefaultParcel) ru) == ParcelState.DELIVERED;
}
return alreadyServiced;
}