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