277278279280281282283284285286287
public ImmutableShortShortMap newWithoutKey(short key) { MutableShortShortMap map = new ShortShortHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableShortShortMap newWithoutAllKeys(ShortIterable keys) {
288289290291292293294295296297298
MutableShortShortMap map = new ShortShortHashMap(this.size()); map.putAll(this); ShortIterator iterator = keys.shortIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()