Class CycleResultsRLEBufferReadable

  • All Implemented Interfaces:
    CycleResultSegmentsReadable, java.lang.Iterable<CycleResultsSegment>

    public class CycleResultsRLEBufferReadable
    extends java.lang.Object
    implements CycleResultSegmentsReadable
    Implements a cycle result segment in a run-length encoded buffer that contains the cycle interval and the result in long, long, byte format, where the last value (the second long value) is *not* included in the cycle inteval. (closed-open interval)

    This is not a threadsafe iterator. It references buffer data that is presumed to be access by only one reader for the sake of efficiency.

    • Constructor Detail

      • CycleResultsRLEBufferReadable

        public CycleResultsRLEBufferReadable​(java.nio.ByteBuffer buf)
      • CycleResultsRLEBufferReadable

        public CycleResultsRLEBufferReadable​(int readSizeInSpans,
                                             java.nio.ByteBuffer src)