}
public boolean retainAll(FloatIterable source)
{
int oldSize = FloatBooleanHashMap.this.size();
final FloatSet sourceSet = source instanceof FloatSet ? (FloatSet) source : source.toSet();
FloatBooleanHashMap retained = FloatBooleanHashMap.this.select(new FloatBooleanPredicate()
{
public boolean accept(float key, boolean value)
{
return sourceSet.contains(key);
}
});
if (retained.size() != oldSize)
{
FloatBooleanHashMap.this.keys = retained.keys;