}
public boolean retainAll(CharIterable source)
{
int oldSize = this.size();
final CharSet sourceSet = source instanceof CharSet ? (CharSet) source : source.toSet();
DoubleCharHashMap retained = DoubleCharHashMap.this.select(new DoubleCharPredicate()
{
public boolean accept(double key, char value)
{
return sourceSet.contains(value);
}
});
if (retained.size() != oldSize)
{
DoubleCharHashMap.this.keys = retained.keys;