org.apache.commons.collections.primitives.adapters
Class FloatListList

java.lang.Object
  extended by org.apache.commons.collections.primitives.adapters.AbstractFloatCollectionCollection
      extended by org.apache.commons.collections.primitives.adapters.AbstractFloatListList
          extended by org.apache.commons.collections.primitives.adapters.FloatListList
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.List

public final class FloatListList
extends AbstractFloatListList
implements java.io.Serializable

Adapts an FloatList to the 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
See Also:
Serialized Form

Field Summary
private  FloatList _list
           
 
Constructor Summary
FloatListList(FloatList list)
          Creates a List wrapping the specified FloatList.
 
Method Summary
protected  FloatList getFloatList()
           
static java.util.List wrap(FloatList list)
          Create a List wrapping the specified FloatList.
 
Methods inherited from class org.apache.commons.collections.primitives.adapters.AbstractFloatListList
add, addAll, equals, get, getFloatCollection, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
 
Methods inherited from class org.apache.commons.collections.primitives.adapters.AbstractFloatCollectionCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Field Detail

_list

private FloatList _list
Constructor Detail

FloatListList

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

See Also:
wrap(org.apache.commons.collections.primitives.FloatList)
Method Detail

wrap

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

Parameters:
list - the (possibly null) FloatList to wrap
Returns:
a List wrapping the given list, or null when list is null.

getFloatList

protected FloatList getFloatList()
Specified by:
getFloatList in class AbstractFloatListList


Copyright (c) 2002-2003 - Apache Software Foundation