277278279280281282283284285286287
public ImmutableLongLongMap newWithoutKey(long key) { MutableLongLongMap map = new LongLongHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableLongLongMap newWithoutAllKeys(LongIterable keys) {
288289290291292293294295296297298
MutableLongLongMap map = new LongLongHashMap(this.size()); map.putAll(this); LongIterator iterator = keys.longIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()