Class HPackHuffman.HuffmanCode
java.lang.Object
org.apache.coyote.http2.HPackHuffman.HuffmanCode
- Enclosing class:
HPackHuffman
Represents a Huffman code with a value and bit length.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HuffmanCode
public HuffmanCode(int value, int length) Creates a new Huffman code.- Parameters:
value- the code valuelength- the code length in bits
-
-
Method Details
-
getValue
public int getValue()Returns the code value.- Returns:
- the code value
-
getLength
public int getLength()Returns the code length in bits.- Returns:
- the code length in bits
-
equals
-
hashCode
-
toString
-