}
public boolean retainAll(IntIterable source)
{
int oldSize = IntBooleanHashMap.this.size();
final IntSet sourceSet = source instanceof IntSet ? (IntSet) source : source.toSet();
IntBooleanHashMap retained = IntBooleanHashMap.this.select(new IntBooleanPredicate()
{
public boolean accept(int key, boolean value)
{
return sourceSet.contains(key);
}
});
if (retained.size() != oldSize)
{
IntBooleanHashMap.this.keys = retained.keys;