return map.toImmutable();
}
public ImmutableDoubleBooleanMap newWithoutAllKeys(DoubleIterable keys)
{
MutableDoubleBooleanMap map = new DoubleBooleanHashMap(this.size());
map.putAll(this);
DoubleIterator iterator = keys.doubleIterator();
while (iterator.hasNext())
{
map.removeKey(iterator.next());
}
return map.toImmutable();
}