237238239240241242243244245246247
public ImmutableCharBooleanMap newWithoutKey(char key) { MutableCharBooleanMap map = new CharBooleanHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableCharBooleanMap newWithoutAllKeys(CharIterable keys) {
248249250251252253254255256257258
MutableCharBooleanMap map = new CharBooleanHashMap(this.size()); map.putAll(this); CharIterator iterator = keys.charIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()