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