Class IDoubleList.IDoubleListableFromArray
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IDoubleList.IDoubleListableFromArray
-
- All Implemented Interfaces:
IDoubleListable
- Enclosing class:
- IDoubleList
protected static class IDoubleList.IDoubleListableFromArray extends java.lang.Object implements IDoubleListable
Wrapper to treat an array asIDoubleListable.
-
-
Constructor Summary
Constructors Constructor Description IDoubleListableFromArray(double[] array)IDoubleListableFromArray(double[] array, int offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleget(int index)intsize()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceIDoubleListable
-
get
public double get(int index)
- Specified by:
getin interfaceIDoubleListable
-
-