org.apache.commons.collections.primitives
public abstract class AbstractIntCollection extends Object implements IntCollection
IntIterator.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 | AbstractIntCollection() |
| Method Summary | |
|---|---|
| boolean | add(int element) Unsupported in this base implementation. |
| boolean | addAll(IntCollection c) |
| void | clear() |
| boolean | contains(int element) |
| boolean | containsAll(IntCollection c) |
| boolean | isEmpty() |
| abstract IntIterator | iterator() |
| boolean | removeAll(IntCollection c) |
| boolean | removeElement(int element) |
| boolean | retainAll(IntCollection c) |
| abstract int | size() |
| int[] | toArray() |
| int[] | toArray(int[] a) |