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