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