public final class ByteCollectionCollection extends AbstractByteCollectionCollection implements java.io.Serializable
ByteCollection
to the Collection
interface.
This implementation delegates most methods
to the provided ByteCollection
implementation in the "obvious" way.| Modifier and Type | Field and Description |
|---|---|
private ByteCollection |
_collection |
| Constructor and Description |
|---|
ByteCollectionCollection(ByteCollection collection)
Creates a
Collection wrapping
the specified ByteCollection. |
| Modifier and Type | Method and Description |
|---|---|
protected ByteCollection |
getByteCollection() |
static java.util.Collection |
wrap(ByteCollection collection)
Create a
Collection wrapping
the specified ByteCollection. |
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprivate ByteCollection _collection
public ByteCollectionCollection(ByteCollection collection)
Collection wrapping
the specified ByteCollection.public static java.util.Collection wrap(ByteCollection collection)
Collection wrapping
the specified ByteCollection. When
the given collection is null,
returns null.collection - the (possibly null)
ByteCollection to wrapCollection wrapping the given
collection, or null when collection is
null.protected ByteCollection getByteCollection()
getByteCollection in class AbstractByteCollectionCollectionCopyright (c) 2002-2003 - Apache Software Foundation