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