}
public boolean retainAll(IntIterable source)
{
int oldSize = ObjectIntHashMap.this.size();
final IntSet sourceSet = source instanceof IntSet ? (IntSet) source : source.toSet();
ObjectIntHashMap<K> retained = ObjectIntHashMap.this.select(new ObjectIntPredicate<K>()
{
public boolean accept(K object, int value)
{
return sourceSet.contains(value);
}
});
if (retained.size() != oldSize)
{
ObjectIntHashMap.this.keys = retained.keys;