public TagValueWrapper decodeTagValueSet() {
        Object node = tree;
        while (node instanceof TreeNode) {
            final TreeNode tn = (TreeNode) node;
            final boolean nextBit = bc.decodeBit();
            node = nextBit ? tn.child2 : tn.child1;
        }
        return (TagValueWrapper) node;
    }
Encoder/Decoder for way-/node-descriptions
<p>
It detects identical descriptions and sorts them
into a huffman-tree according to their frequencies
<p>
Adapted for 3-pass encoding (counters -&gt; statistics -&gt; encoding )
but doesn't do anything at pass1
main/src/main/java/cgeo/geocaching/brouter/codec/TagValueCoder.java