277278279280281282283284285286287
public ImmutableCharCharMap newWithoutKey(char key) { MutableCharCharMap map = new CharCharHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableCharCharMap newWithoutAllKeys(CharIterable keys) {
288289290291292293294295296297298
MutableCharCharMap map = new CharCharHashMap(this.size()); map.putAll(this); CharIterator iterator = keys.charIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()