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