}
public boolean retainAll(FloatIterable source)
{
int oldSize = this.size();
final FloatSet sourceSet = source instanceof FloatSet ? (FloatSet) source : source.toSet();
FloatArrayList retained = this.select(new FloatPredicate()
{
public boolean accept(float value)
{
return sourceSet.contains(value);
}
});
this.size = retained.size;
this.items = retained.items;
return oldSize != this.size();