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