277278279280281282283284285286287
public ImmutableIntIntMap newWithoutKey(int key) { MutableIntIntMap map = new IntIntHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableIntIntMap newWithoutAllKeys(IntIterable keys) {
288289290291292293294295296297298
MutableIntIntMap map = new IntIntHashMap(this.size()); map.putAll(this); IntIterator iterator = keys.intIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()