org.apache.commons.collections.primitives.adapters
public class: ListDoubleList [javadoc |
source]
java.lang.Object
org.apache.commons.collections.primitives.adapters.AbstractCollectionDoubleCollection
org.apache.commons.collections.primitives.adapters.AbstractListDoubleList
org.apache.commons.collections.primitives.adapters.ListDoubleList
All Implemented Interfaces:
Serializable, DoubleList, DoubleCollection
Adapts a
Number -valued
List
to the
DoubleList interface.
This implementation delegates most methods
to the provided
List
implementation in the "obvious" way.
- since:
Commons - Primitives 1.0
- version:
$ - Revision: 1.3 $ $Date: 2003/10/16 20:49:38 $
- author:
Rodney - Waldhoff
| Method from org.apache.commons.collections.primitives.adapters.ListDoubleList Summary: |
|---|
|
getList, wrap |
| Methods from org.apache.commons.collections.primitives.adapters.AbstractListDoubleList: |
|---|
|
add, addAll, equals, get, getCollection, getList, hashCode, indexOf, lastIndexOf, listIterator, listIterator, removeElementAt, set, subList |
| Methods from org.apache.commons.collections.primitives.adapters.AbstractCollectionDoubleCollection: |
|---|
|
add, addAll, clear, contains, containsAll, getCollection, isEmpty, iterator, removeAll, removeElement, retainAll, size, toArray, toArray, toString |
| Method from org.apache.commons.collections.primitives.adapters.ListDoubleList Detail: |
protected List getList() {
return _list;
}
|
public static DoubleList wrap(List list) {
if(null == list) {
return null;
} else if(list instanceof Serializable) {
return new ListDoubleList(list);
} else {
return new NonSerializableListDoubleList(list);
}
}
Create an DoubleList wrapping
the specified List . When
the given list is null,
returns null. |