Class LZ4.Table16

  • Enclosing class:
    LZ4

    private static class LZ4.Table16
    extends LZ4.Table
    16 bits per offset. This is by far the most commonly used table since it gets used whenever compressing inputs whose size is <= 64kB.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private short[] table  
    • Constructor Summary

      Constructors 
      Constructor Description
      Table16​(int size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) int getAndSet​(int index, int value)  
      (package private) int getBitsPerValue()  
      (package private) void set​(int index, int value)  
      (package private) int size()  
      • Methods inherited from class java.lang.Object

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

      • table

        private final short[] table
    • Constructor Detail

      • Table16

        Table16​(int size)