DoubleShortHashMap.this.clear();
}
public MutableDoubleSet select(DoublePredicate predicate)
{
MutableDoubleSet result = new DoubleHashSet();
if (DoubleShortHashMap.this.sentinelValues != null)
{
if (DoubleShortHashMap.this.sentinelValues.containsZeroKey && predicate.accept(EMPTY_KEY))
{
result.add(EMPTY_KEY);
}
if (DoubleShortHashMap.this.sentinelValues.containsOneKey && predicate.accept(REMOVED_KEY))
{
result.add(REMOVED_KEY);
}
}
for (double key : DoubleShortHashMap.this.keys)
{
if (isNonSentinel(key) && predicate.accept(key))
{
result.add(key);
}
}
return result;
}