public boolean retainAll(IntIterable source)
{
int oldSize = this.size();
final IntSet sourceSet = source instanceof IntSet ? (IntSet) source : source.toSet();
IntArrayList retained = this.select(new IntPredicate()
{
public boolean accept(int value)
{
return sourceSet.contains(value);
}