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