Class LongArrayWrapper

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long[] data  
    • Constructor Summary

      Constructors 
      Constructor Description
      LongArrayWrapper​(long[] data)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double get​(int i)
      Get the array element value at index i.
      int getSize()
      Get size of the array.
      void setData​(long[] data)  
      • Methods inherited from class java.lang.Object

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

      • data

        private long[] data
    • Constructor Detail

      • LongArrayWrapper

        public LongArrayWrapper​(long[] data)
    • Method Detail

      • setData

        public void setData​(long[] data)
      • get

        public double get​(int i)
        Description copied from interface: IPrimaryArrayWrapper
        Get the array element value at index i.
        Specified by:
        get in interface IPrimaryArrayWrapper
        Parameters:
        i - index
        Returns:
        the value at index i.