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