}
int oldSize = this.size();
if (source instanceof DoubleBag)
{
DoubleBag otherBag = (DoubleBag) source;
otherBag.forEachWithOccurrences(new DoubleIntProcedure()
{
public void value(double each, int occurrences)
{
int oldOccurrences = DoubleHashBag.this.items.removeKeyIfAbsent(each, 0);
DoubleHashBag.this.size -= oldOccurrences;