Class FVecArrayImpl.FVecFloatArrayImpl

  • All Implemented Interfaces:
    FVec, java.io.Serializable
    Enclosing class:
    FVecArrayImpl

    static class FVecArrayImpl.FVecFloatArrayImpl
    extends java.lang.Object
    implements FVec
    • Nested Class Summary

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean treatsZeroAsNA  
      private float[] values  
    • Constructor Summary

      Constructors 
      Constructor Description
      FVecFloatArrayImpl​(float[] values, boolean treatsZeroAsNA)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float fvalue​(int index)
      Gets index-th value.
      • Methods inherited from class java.lang.Object

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

      • values

        private final float[] values
      • treatsZeroAsNA

        private final boolean treatsZeroAsNA
    • Constructor Detail

      • FVecFloatArrayImpl

        FVecFloatArrayImpl​(float[] values,
                           boolean treatsZeroAsNA)
    • Method Detail

      • fvalue

        public float fvalue​(int index)
        Description copied from interface: FVec
        Gets index-th value.
        Specified by:
        fvalue in interface FVec
        Parameters:
        index - index
        Returns:
        value