Class IDoubleList.IDoubleListableFromMult
java.lang.Object
org.magicwerk.brownies.collections.primitive.IDoubleList.IDoubleListableFromMult
- All Implemented Interfaces:
IDoubleListable
- Enclosing class:
IDoubleList
protected static class IDoubleList.IDoubleListableFromMult
extends Object
implements IDoubleListable
Wrapper to treat a repeated element as
IDoubleListable
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
len
int len -
elem
double elem
-
-
Constructor Details
-
IDoubleListableFromMult
IDoubleListableFromMult(int len, double elem)
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceIDoubleListable
-
get
public double get(int index) - Specified by:
get
in interfaceIDoubleListable
-