ByteDoubleHashMap.this.clear();
}
public MutableByteSet select(BytePredicate predicate)
{
MutableByteSet result = new ByteHashSet();
if (ByteDoubleHashMap.this.sentinelValues != null)
{
if (ByteDoubleHashMap.this.sentinelValues.containsZeroKey && predicate.accept(EMPTY_KEY))
{
result.add(EMPTY_KEY);
}
if (ByteDoubleHashMap.this.sentinelValues.containsOneKey && predicate.accept(REMOVED_KEY))
{
result.add(REMOVED_KEY);
}
}
for (byte key : ByteDoubleHashMap.this.keys)
{
if (isNonSentinel(key) && predicate.accept(key))
{
result.add(key);
}
}
return result;
}