}
public boolean retainAll(ByteIterable source)
{
int oldSize = ByteBooleanHashMap.this.size();
final ByteSet sourceSet = source instanceof ByteSet ? (ByteSet) source : source.toSet();
ByteBooleanHashMap retained = ByteBooleanHashMap.this.select(new ByteBooleanPredicate()
{
public boolean accept(byte key, boolean value)
{
return sourceSet.contains(key);
}
});
if (retained.size() != oldSize)
{
ByteBooleanHashMap.this.keys = retained.keys;