|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.collections.primitives.adapters.AbstractLongCollectionCollection
org.apache.commons.collections.primitives.adapters.LongCollectionCollection
public final class LongCollectionCollection
Adapts an LongCollection
to the Collection
interface.
LongCollection
implementation in the "obvious" way.
| Field Summary | |
|---|---|
private LongCollection |
_collection
|
| Constructor Summary | |
|---|---|
LongCollectionCollection(LongCollection collection)
Creates a Collection wrapping
the specified LongCollection. |
|
| Method Summary | |
|---|---|
protected LongCollection |
getLongCollection()
|
static java.util.Collection |
wrap(LongCollection collection)
Create a Collection wrapping
the specified LongCollection. |
| Methods inherited from class org.apache.commons.collections.primitives.adapters.AbstractLongCollectionCollection |
|---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Field Detail |
|---|
private LongCollection _collection
| Constructor Detail |
|---|
public LongCollectionCollection(LongCollection collection)
Collection wrapping
the specified LongCollection.
wrap(org.apache.commons.collections.primitives.LongCollection)| Method Detail |
|---|
public static java.util.Collection wrap(LongCollection collection)
Collection wrapping
the specified LongCollection. When
the given collection is null,
returns null.
collection - the (possibly null)
LongCollection to wrap
Collection wrapping the given
collection, or null when collection is
null.protected LongCollection getLongCollection()
getLongCollection in class AbstractLongCollectionCollection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||