}
public boolean retainAll(LongIterable source)
{
int oldSize = this.size();
final LongSet sourceSet = source instanceof LongSet ? (LongSet) source : source.toSet();
LongObjectHashMap<V> retained = LongObjectHashMap.this.select(new LongObjectPredicate<V>()
{
public boolean accept(long key, V value)
{
return sourceSet.contains(key);
}
});
if (retained.size() != oldSize)
{
LongObjectHashMap.this.keys = retained.keys;