Class IDoubleList.IDoubleListableFromList
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IDoubleList.IDoubleListableFromList
-
- All Implemented Interfaces:
IDoubleListable
- Enclosing class:
- IDoubleList
protected static class IDoubleList.IDoubleListableFromList extends java.lang.Object implements IDoubleListable
Wrapper to treat aList
asIDoubleListable
.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<java.lang.Double>
list
-
Constructor Summary
Constructors Constructor Description IDoubleListableFromList(java.util.List<java.lang.Double> list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
get(int index)
int
size()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceIDoubleListable
-
get
public double get(int index)
- Specified by:
get
in interfaceIDoubleListable
-
-