Class HuffmanTree

java.lang.Object
me.c7dev.dexterity.displays.schematics.HuffmanTree

public class HuffmanTree extends Object
Used to construct the binary tags in schematic tokens
  • Constructor Details

  • Method Details

    • getFrequency

      public int getFrequency()
    • getLeft

      public HuffmanTree getLeft()
    • setLeft

      public void setLeft(HuffmanTree l)
    • setRight

      public void setRight(HuffmanTree r)
    • setLeaf

      public void setLeaf(Token leaf)
    • getRight

      public HuffmanTree getRight()
    • setFrequency

      public void setFrequency(int f)
    • getLeafToken

      public Token getLeafToken()
    • getTag

      public LinkedList<Boolean> getTag()
    • addBit

      public void addBit(boolean b)
    • assignTags

      public void assignTags()
    • getTagBinary

      public BinaryTag getTagBinary()