|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections.primitives.adapters.AbstractByteCollectionCollection
org.apache.commons.collections.primitives.adapters.ByteCollectionCollection
public final class ByteCollectionCollection
Adapts an ByteCollection
to the Collection
interface.
ByteCollection
implementation in the "obvious" way.
Field Summary | |
---|---|
private ByteCollection |
_collection
|
Constructor Summary | |
---|---|
ByteCollectionCollection(ByteCollection collection)
Creates a Collection wrapping
the specified ByteCollection . |
Method Summary | |
---|---|
protected ByteCollection |
getByteCollection()
|
static java.util.Collection |
wrap(ByteCollection collection)
Create a Collection wrapping
the specified ByteCollection . |
Methods inherited from class org.apache.commons.collections.primitives.adapters.AbstractByteCollectionCollection |
---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
equals, hashCode |
Field Detail |
---|
private ByteCollection _collection
Constructor Detail |
---|
public ByteCollectionCollection(ByteCollection collection)
Collection
wrapping
the specified ByteCollection
.
wrap(org.apache.commons.collections.primitives.ByteCollection)
Method Detail |
---|
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 wrap
Collection
wrapping the given
collection, or null
when collection is
null
.protected ByteCollection getByteCollection()
getByteCollection
in class AbstractByteCollectionCollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |