Class GCFBlock

    • Constructor Detail

      • GCFBlock

        public GCFBlock​(GCFHeader header,
                        int[] diffData,
                        int firstSample,
                        int lastSample,
                        boolean isSerial)
    • Method Detail

      • getDiffData

        public int[] getDiffData()
      • getFirstSample

        public int getFirstSample()
      • getLastSample

        public int getLastSample()
      • write

        public void write​(java.io.DataOutput out)
                   throws java.lang.NumberFormatException,
                          java.io.IOException
        Specified by:
        write in class AbstractGCFBlock
        Throws:
        java.lang.NumberFormatException
        java.io.IOException
      • mockGCF

        public static GCFBlock mockGCF​(java.util.Date startTime,
                                       int[] data,
                                       boolean isSerial)
        creates a mock GCFBlock. Note the data is not differenced, that is taken care of internal to this method.
        Parameters:
        startTime -
        data - raw samples.
        isSerial -
        Returns: