org.apache.commons.collections.primitives.adapters
public final class ShortListList extends AbstractShortListList implements Serializable
ShortList
to the
List List
interface.
This implementation delegates most methods
to the provided ShortList
implementation in the "obvious" way.
Since: Commons Primitives 1.0
Version: $Revision: 1.3 $ $Date: 2003/10/16 20:49:38 $
Field Summary | |
---|---|
ShortList | _list |
Constructor Summary | |
---|---|
ShortListList(ShortList list)
Creates a List List wrapping
the specified ShortList . |
Method Summary | |
---|---|
protected ShortList | getShortList() |
static List | wrap(ShortList list)
Create a List List wrapping
the specified ShortList . |
List List
wrapping
the specified ShortList
. When
the given list is null
,
returns null
.
Parameters: list the (possibly null
)
ShortList
to wrap
Returns: a List List
wrapping the given
list, or null
when list is
null
.