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