it.unimi.dsi.compression
Class TreeDecoder.LeafNode

java.lang.Object
  extended by it.unimi.dsi.compression.TreeDecoder.Node
      extended by it.unimi.dsi.compression.TreeDecoder.LeafNode
All Implemented Interfaces:
Serializable
Enclosing class:
TreeDecoder

public static class TreeDecoder.LeafNode
extends TreeDecoder.Node

A leaf node of the decoding tree.

See Also:
Serialized Form

Field Summary
 int symbol
           
 
Fields inherited from class it.unimi.dsi.compression.TreeDecoder.Node
left, right
 
Constructor Summary
TreeDecoder.LeafNode(int symbol)
          Creates a leaf node.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

symbol

public final int symbol
Constructor Detail

TreeDecoder.LeafNode

public TreeDecoder.LeafNode(int symbol)
Creates a leaf node.

Parameters:
symbol - the symbol for this node.