Class IFloatList.IFloatListableFromArray
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IFloatList.IFloatListableFromArray
-
- All Implemented Interfaces:
IFloatListable
- Enclosing class:
- IFloatList
protected static class IFloatList.IFloatListableFromArray extends java.lang.Object implements IFloatListable
Wrapper to treat an array asIFloatListable
.
-
-
Constructor Summary
Constructors Constructor Description IFloatListableFromArray(float[] array)
IFloatListableFromArray(float[] array, int offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
get(int index)
int
size()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceIFloatListable
-
get
public float get(int index)
- Specified by:
get
in interfaceIFloatListable
-
-