org.apache.commons.collections.primitives.adapters

Class DoubleListList

public final class DoubleListList extends AbstractDoubleListList implements Serializable

Adapts an DoubleList to the List List interface.

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

Field Detail

_list

private DoubleList _list

Constructor Detail

DoubleListList

public DoubleListList(DoubleList list)
Creates a List List wrapping the specified DoubleList.

See Also: DoubleListList

Method Detail

getDoubleList

protected DoubleList getDoubleList()

wrap

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

Parameters: list the (possibly null) DoubleList to wrap

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

Copyright (c) 2002-2003 - Apache Software Foundation