293294295296297298299300301302303
MutableIntDoubleMap map = new IntDoubleHashMap(this.size()); map.putAll(this); IntIterator iterator = keys.intIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()
282283284285286287288289290291292
public ImmutableIntDoubleMap newWithoutKey(int key) { MutableIntDoubleMap map = new IntDoubleHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableIntDoubleMap newWithoutAllKeys(IntIterable keys) {