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