Class IFloatList.IFloatListableFromCollection
- java.lang.Object
-
- org.magicwerk.brownies.collections.primitive.IFloatList.IFloatListableFromCollection
-
- All Implemented Interfaces:
IFloatListable
- Enclosing class:
- IFloatList
protected static class IFloatList.IFloatListableFromCollection extends java.lang.Object implements IFloatListable
Wrapper to treat aCollectionasIFloatListable.Note that the implementation relies on the fact that the elements are only accessed sequentially.
-
-
Constructor Summary
Constructors Constructor Description IFloatListableFromCollection(java.util.Collection<java.lang.Float> coll)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatget(int index)intsize()
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceIFloatListable
-
get
public float get(int index)
- Specified by:
getin interfaceIFloatListable
-
-