237238239240241242243244245246247
public ImmutableLongBooleanMap newWithoutKey(long key) { MutableLongBooleanMap map = new LongBooleanHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableLongBooleanMap newWithoutAllKeys(LongIterable keys) {
248249250251252253254255256257258
MutableLongBooleanMap map = new LongBooleanHashMap(this.size()); map.putAll(this); LongIterator iterator = keys.longIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()