org.apache.commons.collections.primitives
public abstract class AbstractCharCollection extends Object implements CharCollection
CharIterator.remove
.
All other methods have at least some base implementation
derived from these. Subclasses may choose to override
these methods to provide a more efficient implementation.
Since: Commons Primitives 1.0
Version: $Revision: 1.3 $ $Date: 2003/10/16 20:49:36 $
Constructor Summary | |
---|---|
protected | AbstractCharCollection() |
Method Summary | |
---|---|
boolean | add(char element) Unsupported in this base implementation. |
boolean | addAll(CharCollection c) |
void | clear() |
boolean | contains(char element) |
boolean | containsAll(CharCollection c) |
boolean | isEmpty() |
abstract CharIterator | iterator() |
boolean | removeAll(CharCollection c) |
boolean | removeElement(char element) |
boolean | retainAll(CharCollection c) |
abstract int | size() |
char[] | toArray() |
char[] | toArray(char[] a) |