Class LZ77Compressor.BackReference

    • Constructor Detail

      • BackReference

        public BackReference​(int offset,
                             int length)
    • Method Detail

      • getOffset

        public int getOffset()
        Provides the offset of the back-reference.
        Returns:
        the offset
      • getLength

        public int getLength()
        Provides the length of the back-reference.
        Returns:
        the length
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object