282283284285286287288289290291292
public ImmutableShortByteMap newWithoutKey(short key) { MutableShortByteMap map = new ShortByteHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableShortByteMap newWithoutAllKeys(ShortIterable keys) {
293294295296297298299300301302303
MutableShortByteMap map = new ShortByteHashMap(this.size()); map.putAll(this); ShortIterator iterator = keys.shortIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()