org.apache.commons.collections.primitives.adapters

Class LongListList

public final class LongListList extends AbstractLongListList implements Serializable

Adapts an LongList to the List List interface.

This implementation delegates most methods to the provided LongList implementation in the "obvious" way.

Since: Commons Primitives 1.0

Version: $Revision: 1.3 $ $Date: 2003/10/16 20:49:38 $

Author: Rodney Waldhoff

Field Summary
LongList_list
Constructor Summary
LongListList(LongList list)
Creates a List List wrapping the specified LongList.
Method Summary
protected LongListgetLongList()
static Listwrap(LongList list)
Create a List List wrapping the specified LongList.

Field Detail

_list

private LongList _list

Constructor Detail

LongListList

public LongListList(LongList list)
Creates a List List wrapping the specified LongList.

See Also: LongListList

Method Detail

getLongList

protected LongList getLongList()

wrap

public static List wrap(LongList list)
Create a List List wrapping the specified LongList. When the given list is null, returns null.

Parameters: list the (possibly null) LongList to wrap

Returns: a List List wrapping the given list, or null when list is null.

Copyright (c) 2002-2003 - Apache Software Foundation