Package com.google.code.yanf4j.util
Class ShiftOrByteBufferMatcher
- java.lang.Object
-
- com.google.code.yanf4j.util.ShiftOrByteBufferMatcher
-
- All Implemented Interfaces:
ByteBufferMatcher
public class ShiftOrByteBufferMatcher extends Object implements ByteBufferMatcher
ByteBuffer matcher based on shift-or algorithm- Author:
- dennis
-
-
Constructor Summary
Constructors Constructor Description ShiftOrByteBufferMatcher(IoBuffer pat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>matchAll(IoBuffer buffer)intmatchFirst(IoBuffer buffer)
-
-
-
Constructor Detail
-
ShiftOrByteBufferMatcher
public ShiftOrByteBufferMatcher(IoBuffer pat)
-
-
Method Detail
-
matchAll
public final List<Integer> matchAll(IoBuffer buffer)
- Specified by:
matchAllin interfaceByteBufferMatcher
-
matchFirst
public final int matchFirst(IoBuffer buffer)
- Specified by:
matchFirstin interfaceByteBufferMatcher
-
-