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