}
public boolean retainAll(CharIterable source)
{
int oldSize = this.size();
final CharSet sourceSet = source instanceof CharSet ? (CharSet) source : source.toSet();
CharArrayList retained = this.select(new CharPredicate()
{
public boolean accept(char value)
{
return sourceSet.contains(value);
}
});
this.size = retained.size;
this.items = retained.items;
return oldSize != this.size();