|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections.primitives.adapters.AbstractShortCollectionCollection
org.apache.commons.collections.primitives.adapters.ShortCollectionCollection
public final class ShortCollectionCollection
Adapts an ShortCollection
to the Collection
interface.
ShortCollection
implementation in the "obvious" way.
Field Summary | |
---|---|
private ShortCollection |
_collection
|
Constructor Summary | |
---|---|
ShortCollectionCollection(ShortCollection collection)
Creates a Collection wrapping
the specified ShortCollection . |
Method Summary | |
---|---|
protected ShortCollection |
getShortCollection()
|
static java.util.Collection |
wrap(ShortCollection collection)
Create a Collection wrapping
the specified ShortCollection . |
Methods inherited from class org.apache.commons.collections.primitives.adapters.AbstractShortCollectionCollection |
---|
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 ShortCollection _collection
Constructor Detail |
---|
public ShortCollectionCollection(ShortCollection collection)
Collection
wrapping
the specified ShortCollection
.
wrap(org.apache.commons.collections.primitives.ShortCollection)
Method Detail |
---|
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 wrap
Collection
wrapping the given
collection, or null
when collection is
null
.protected ShortCollection getShortCollection()
getShortCollection
in class AbstractShortCollectionCollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |