@Test public void testHuffman() throws IOException { String s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; for (int i = 0; i < s.length(); i++) { roundTrip(s.substring(0, i)); } Random random = new Random(123456789L); byte[] buf = new byte[4096]; random.nextBytes(buf); roundTrip(buf); }
private Huffman() { }
Huffman { private Huffman() { } }
Huffman { private Huffman() { } private  Huffman(); }
Huffman { private Huffman() { } private  Huffman();  }
Huffman { private Huffman() { } private  Huffman();  static final HuffmanDecoder DECODER; static final HuffmanEncoder ENCODER; }