237238239240241242243244245246247
public ImmutableFloatBooleanMap newWithoutKey(float key) { MutableFloatBooleanMap map = new FloatBooleanHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableFloatBooleanMap newWithoutAllKeys(FloatIterable keys) {
248249250251252253254255256257258
MutableFloatBooleanMap map = new FloatBooleanHashMap(this.size()); map.putAll(this); FloatIterator iterator = keys.floatIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()