Class Chunk

  • public class Chunk
    extends java.lang.Object
    A chunk represents the basic unit of text that is displayed in the FVTable. This does NOT contain the actual text being displayed; rather it contains metadata describing the text (start/end byte positions, number of lines in the chunk, etc...). It should be noted that chunks are transient - they are created and destroyed as different sections of the file are required for display.
    • Constructor Summary

      Constructor Description
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • start

        public long start
      • end

        public long end
      • rowToFilePositionMap

        public java.util.Map<java.lang.Integer,​Pair> rowToFilePositionMap
      • linesInChunk

        public int linesInChunk
    • Constructor Detail

      • Chunk

        public Chunk()