493494495496497498499500501502503
return this.items.keysView().allSatisfy(new CharPredicate() { public boolean accept(char key) { return CharHashBag.this.occurrencesOf(key) == bag.occurrencesOf(key); } }); } @Override
254255256257258259260261262263264
CharBag bag = (CharBag) obj; if (bag.size() != 1) { return false; } return this.occurrencesOf(this.element1) == bag.occurrencesOf(this.element1); } @Override public int hashCode() {