Class ValueNode


  • class ValueNode
    extends Node
    Represents a value node in a huffman tree. It is a leaf of a tree.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static java.lang.String bitPattern​(int v, int len)  
      protected long decode​(javax.imageio.stream.ImageInputStream iis)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rangeLen

        private int rangeLen
      • rangeLow

        private int rangeLow
      • isLowerRange

        private boolean isLowerRange
    • Method Detail

      • decode

        protected long decode​(javax.imageio.stream.ImageInputStream iis)
                       throws java.io.IOException
        Specified by:
        decode in class Node
        Throws:
        java.io.IOException
      • bitPattern

        static java.lang.String bitPattern​(int v,
                                           int len)