ShortBooleanHashMap.this.clear();
}
public MutableShortSet select(ShortPredicate predicate)
{
MutableShortSet result = new ShortHashSet();
if (ShortBooleanHashMap.this.sentinelValues != null)
{
if (ShortBooleanHashMap.this.sentinelValues.containsZeroKey && predicate.accept(EMPTY_KEY))
{
result.add(EMPTY_KEY);
}
if (ShortBooleanHashMap.this.sentinelValues.containsOneKey && predicate.accept(REMOVED_KEY))
{
result.add(REMOVED_KEY);
}
}
for (short key : ShortBooleanHashMap.this.keys)
{
if (isNonSentinel(key) && predicate.accept(key))
{
result.add(key);
}
}
return result;
}