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