LongObjectHashMap.this.clear();
}
public MutableLongSet select(LongPredicate predicate)
{
MutableLongSet result = new LongHashSet();
if (LongObjectHashMap.this.sentinelValues != null)
{
if (LongObjectHashMap.this.sentinelValues.containsZeroKey && predicate.accept(EMPTY_KEY))
{
result.add(EMPTY_KEY);
}
if (LongObjectHashMap.this.sentinelValues.containsOneKey && predicate.accept(REMOVED_KEY))
{
result.add(REMOVED_KEY);
}
}
for (long key : LongObjectHashMap.this.keys)
{
if (isNonSentinel(key) && predicate.accept(key))
{
result.add(key);
}
}
return result;
}