484485486487488489490491492493494
if (!(otherBag instanceof ShortBag)) { return false; } final ShortBag bag = (ShortBag) otherBag; if (this.sizeDistinct() != bag.sizeDistinct()) { return false; } return this.items.keysView().allSatisfy(new ShortPredicate()