|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections.primitives.adapters.AbstractCharCollectionCollection
org.apache.commons.collections.primitives.adapters.CharCollectionCollection
public final class CharCollectionCollection
Adapts an CharCollection
to the Collection
interface.
CharCollection
implementation in the "obvious" way.
Field Summary | |
---|---|
private CharCollection |
_collection
|
Constructor Summary | |
---|---|
CharCollectionCollection(CharCollection collection)
Creates a Collection wrapping
the specified CharCollection . |
Method Summary | |
---|---|
protected CharCollection |
getCharCollection()
|
static java.util.Collection |
wrap(CharCollection collection)
Create a Collection wrapping
the specified CharCollection . |
Methods inherited from class org.apache.commons.collections.primitives.adapters.AbstractCharCollectionCollection |
---|
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 CharCollection _collection
Constructor Detail |
---|
public CharCollectionCollection(CharCollection collection)
Collection
wrapping
the specified CharCollection
.
wrap(org.apache.commons.collections.primitives.CharCollection)
Method Detail |
---|
public static java.util.Collection wrap(CharCollection collection)
Collection
wrapping
the specified CharCollection
. When
the given collection is null
,
returns null
.
collection
- the (possibly null
)
CharCollection
to wrap
Collection
wrapping the given
collection, or null
when collection is
null
.protected CharCollection getCharCollection()
getCharCollection
in class AbstractCharCollectionCollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |