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