Class IFloatList.IFloatListableFromCollection

  • All Implemented Interfaces:
    IFloatListable
    Enclosing class:
    IFloatList

    protected static class IFloatList.IFloatListableFromCollection
    extends java.lang.Object
    implements IFloatListable
    Wrapper to treat a Collection as IFloatListable.

    Note that the implementation relies on the fact that the elements are only accessed sequentially.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.Iterator<java.lang.Float> iter  
      (package private) int size  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float get​(int index)  
      int size()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • iter

        java.util.Iterator<java.lang.Float> iter
      • size

        int size
    • Constructor Detail

      • IFloatListableFromCollection

        IFloatListableFromCollection​(java.util.Collection<java.lang.Float> coll)