|
|||||||||
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.AbstractShortListList
org.apache.commons.collections.primitives.adapters.ShortListList
public final class ShortListList
Adapts an ShortList
to the
List
interface.
ShortList
implementation in the "obvious" way.
Field Summary | |
---|---|
private ShortList |
_list
|
Constructor Summary | |
---|---|
ShortListList(ShortList list)
Creates a List wrapping
the specified ShortList . |
Method Summary | |
---|---|
protected ShortList |
getShortList()
|
static java.util.List |
wrap(ShortList list)
Create a List wrapping
the specified ShortList . |
Methods inherited from class org.apache.commons.collections.primitives.adapters.AbstractShortListList |
---|
add, addAll, equals, get, getShortCollection, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList |
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, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Field Detail |
---|
private ShortList _list
Constructor Detail |
---|
public ShortListList(ShortList list)
List
wrapping
the specified ShortList
.
wrap(org.apache.commons.collections.primitives.ShortList)
Method Detail |
---|
public static java.util.List wrap(ShortList list)
List
wrapping
the specified ShortList
. When
the given list is null
,
returns null
.
list
- the (possibly null
)
ShortList
to wrap
List
wrapping the given
list, or null
when list is
null
.protected ShortList getShortList()
getShortList
in class AbstractShortListList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |