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