org.apache.commons.collections.primitives.adapters
public final class CollectionDoubleCollection extends AbstractCollectionDoubleCollection implements Serializable
java.lang.Number Number-valued
java.util.Collection Collection to the
DoubleCollection interface.
This implementation delegates most methods
to the provided Collection Collection
implementation in the "obvious" way.
Since: Commons Primitives 1.0
Version: $Revision: 1.3 $ $Date: 2003/10/16 20:49:38 $
| Field Summary | |
|---|---|
| Collection | _collection |
| Constructor Summary | |
|---|---|
| CollectionDoubleCollection(Collection collection)
Creates an DoubleCollection wrapping
the specified Collection Collection. | |
| Method Summary | |
|---|---|
| protected Collection | getCollection() |
| static DoubleCollection | wrap(Collection collection)
Create an DoubleCollection wrapping
the specified Collection Collection. |
DoubleCollection wrapping
the specified Collection Collection.See Also: CollectionDoubleCollection
DoubleCollection wrapping
the specified Collection Collection. When
the given collection is null,
returns null.
Parameters: collection the (possibly null) Collection to wrap
Returns: an DoubleCollection wrapping the given
collection, or null when collection is
null.