Class ShiftAndByteBufferMatcher

java.lang.Object
com.google.code.yanf4j.util.ShiftAndByteBufferMatcher
All Implemented Interfaces:
ByteBufferMatcher

public class ShiftAndByteBufferMatcher extends Object implements ByteBufferMatcher
ByteBuffer matcher based on shift-and algorithm
  • Field Details

    • b

      private int[] b
    • mask

      private int mask
    • patternLimit

      private int patternLimit
    • patternPos

      private int patternPos
    • patternLen

      private int patternLen
  • Constructor Details

    • ShiftAndByteBufferMatcher

      public ShiftAndByteBufferMatcher(IoBuffer pat)
  • Method Details