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