858859860861862863864865866867868869870871872
return result; } public MutableBooleanBag toBag() { MutableBooleanBag result = new BooleanHashBag(); for (int i = 0; i < this.keys.length; i++) { if (isNonSentinel(this.keys[i])) { result.add(this.values.get(i)); } } return result; }