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