282283284285286287288289290291292
public ImmutableByteFloatMap newWithoutKey(byte key) { MutableByteFloatMap map = new ByteFloatHashMap(this.size()); map.putAll(this); map.removeKey(key); return map.toImmutable(); } public ImmutableByteFloatMap newWithoutAllKeys(ByteIterable keys) {
293294295296297298299300301302303
MutableByteFloatMap map = new ByteFloatHashMap(this.size()); map.putAll(this); ByteIterator iterator = keys.byteIterator(); while (iterator.hasNext()) { map.removeKey(iterator.next()); } return map.toImmutable(); } public int size()