public boolean retainAll(ShortIterable source)
{
int oldSize = this.size();
final ShortSet sourceSet = source instanceof ShortSet ? (ShortSet) source : source.toSet();
ShortCharHashMap retained = ShortCharHashMap.this.select(new ShortCharPredicate()
{
public boolean accept(short key, char value)
{
return sourceSet.contains(key);
}