Class BinTree


  • public class BinTree
    extends InWindow
    BinTree
    Author:
    Igor Pavlov
    • Constructor Detail

      • BinTree

        public BinTree()
    • Method Detail

      • setType

        public void setType​(int numHashBytes)
      • init

        public void init()
                  throws java.io.IOException
        Overrides:
        init in class InWindow
        Throws:
        java.io.IOException
      • movePos

        public void movePos()
                     throws java.io.IOException
        Overrides:
        movePos in class InWindow
        Throws:
        java.io.IOException
      • create

        public boolean create​(int historySize,
                              int keepAddBufferBefore,
                              int matchMaxLen,
                              int keepAddBufferAfter)
      • getMatches

        public int getMatches​(int[] distances)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • skip

        public void skip​(int num)
                  throws java.io.IOException
        Throws:
        java.io.IOException