public boolean retainAll(DoubleIterable source)
{
int oldSize = this.size();
final DoubleSet sourceSet = source instanceof DoubleSet ? (DoubleSet) source : source.toSet();
FloatDoubleHashMap retained = FloatDoubleHashMap.this.select(new FloatDoublePredicate()
{
public boolean accept(float key, double value)
{
return sourceSet.contains(value);
}