282283284285286287288289290291292
public ImmutableCharDoubleMap newWithoutKey(char key) { MutableCharDoubleMap map = new CharDoubleHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableCharDoubleMap newWithoutAllKeys(CharIterable keys) {
293294295296297298299300301302303
MutableCharDoubleMap map = new CharDoubleHashMap(this.size()); map.putAll(this); CharIterator iterator = keys.charIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()