org.apache.commons.collections.primitives.adapters

Class IntListList

public final class IntListList extends AbstractIntListList implements Serializable

Adapts an IntList to the List List interface.

This implementation delegates most methods to the provided IntList 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
IntList_list
Constructor Summary
IntListList(IntList list)
Creates a List List wrapping the specified IntList.
Method Summary
protected IntListgetIntList()
static Listwrap(IntList list)
Create a List List wrapping the specified IntList.

Field Detail

_list

private IntList _list

Constructor Detail

IntListList

public IntListList(IntList list)
Creates a List List wrapping the specified IntList.

See Also: IntListList

Method Detail

getIntList

protected IntList getIntList()

wrap

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

Parameters: list the (possibly null) IntList to wrap

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

Copyright (c) 2002-2003 - Apache Software Foundation