Class LZ4.HashTable

    • Constructor Summary

      Constructors 
      Constructor Description
      HashTable()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      (package private) abstract boolean assertReset()  
      (package private) abstract int get​(int off)
      Advance the cursor to and return an index that stored the same 4 bytes as b[o:o+4).
      (package private) abstract void initDictionary​(int dictLen)
      Init dictLen bytes to be used as a dictionary.
      (package private) abstract int previous​(int off)
      Return an index that less than off and stores the same 4 bytes.
      (package private) abstract void reset​(byte[] b, int off, int len)
      Reset this hash table in order to compress the given content.
      • Methods inherited from class java.lang.Object

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

      • HashTable

        HashTable()
    • Method Detail

      • reset

        abstract void reset​(byte[] b,
                            int off,
                            int len)
        Reset this hash table in order to compress the given content.
      • initDictionary

        abstract void initDictionary​(int dictLen)
        Init dictLen bytes to be used as a dictionary.
      • get

        abstract int get​(int off)
        Advance the cursor to and return an index that stored the same 4 bytes as b[o:o+4). This may only be called on strictly increasing sequences of offsets. A return value of -1 indicates that no other index could be found.
      • previous

        abstract int previous​(int off)
        Return an index that less than off and stores the same 4 bytes. Unlike get(int), it doesn't need to be called on increasing offsets. A return value of -1 indicates that no other index could be found.
      • assertReset

        abstract boolean assertReset()