public final class CollectionFloatCollection extends AbstractCollectionFloatCollection implements java.io.Serializable
Number-valued
Collection to the
FloatCollection interface.
This implementation delegates most methods
to the provided Collection
implementation in the "obvious" way.| Modifier and Type | Field and Description |
|---|---|
private java.util.Collection |
_collection |
| Constructor and Description |
|---|
CollectionFloatCollection(java.util.Collection collection)
Creates an
FloatCollection wrapping
the specified Collection. |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection |
getCollection() |
static FloatCollection |
wrap(java.util.Collection collection)
Create an
FloatCollection wrapping
the specified Collection. |
add, addAll, clear, contains, containsAll, isEmpty, iterator, removeAll, removeElement, retainAll, size, toArray, toArray, toStringpublic CollectionFloatCollection(java.util.Collection collection)
FloatCollection wrapping
the specified Collection.wrap(java.util.Collection)public static FloatCollection wrap(java.util.Collection collection)
FloatCollection wrapping
the specified Collection. When
the given collection is null,
returns null.collection - the (possibly null) Collection to wrapFloatCollection wrapping the given
collection, or null when collection is
null.protected java.util.Collection getCollection()
getCollection in class AbstractCollectionFloatCollectionCopyright (c) 2002-2003 - Apache Software Foundation