Class LZ77Compressor.AbstractReference

    • Constructor Detail

      • AbstractReference

        public AbstractReference​(LZ77Compressor.Block.BlockType blockType,
                                 int offset,
                                 int length)
        Constructs a new instance.
        Parameters:
        blockType - The block type.
        offset - the offset of the reference.
        length - the offset of the reference.
    • Method Detail

      • getLength

        public int getLength()
        Gets the offset of the reference.
        Returns:
        the length
      • getOffset

        public int getOffset()
        Gets the offset of the reference.
        Returns:
        the offset