277278279280281282283284285286287
public ImmutableByteByteMap newWithoutKey(byte key) { MutableByteByteMap map = new ByteByteHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableByteByteMap newWithoutAllKeys(ByteIterable keys) {
288289290291292293294295296297298
MutableByteByteMap map = new ByteByteHashMap(this.size()); map.putAll(this); ByteIterator iterator = keys.byteIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()