public boolean retainAll(ByteIterable source)
{
int oldSize = this.size();
final ByteSet sourceSet = source instanceof ByteSet ? (ByteSet) source : source.toSet();
ByteArrayList retained = this.select(new BytePredicate()
{
public boolean accept(byte value)
{
return sourceSet.contains(value);
}