org.apache.commons.collections.primitives.adapters

Class FloatListList

public final class FloatListList extends AbstractFloatListList implements Serializable

Adapts an FloatList to the List List interface.

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

Since: Commons Primitives 0.1

Version: $Revision: 1.2 $ $Date: 2003/10/14 20:04:18 $

Author: Rodney Waldhoff

Field Summary
FloatList_list
Constructor Summary
FloatListList(FloatList list)
Creates a List List wrapping the specified FloatList.
Method Summary
protected FloatListgetFloatList()
static Listwrap(FloatList list)
Create a List List wrapping the specified FloatList.

Field Detail

_list

private FloatList _list

Constructor Detail

FloatListList

public FloatListList(FloatList list)
Creates a List List wrapping the specified FloatList.

See Also: FloatListList

Method Detail

getFloatList

protected FloatList getFloatList()

wrap

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

Parameters: list the (possibly null) FloatList to wrap

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

Copyright (c) 2002-2003 - Apache Software Foundation