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