public class ShiftAnd extends Object implements StringSearchAlgorithm
| Modifier and Type | Class and Description |
|---|---|
static interface |
ShiftAnd.BitMapStates |
static class |
ShiftAnd.Factory |
| Constructor and Description |
|---|
ShiftAnd(String pattern,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
StringFinder |
createFinder(ByteProvider bytes,
StringFinderOption... options)
creates a StringFinder instance from the pattern (given by the current instance) and the given document.
|
int |
getPatternLength() |
String |
toString() |
public int getPatternLength()
getPatternLength in interface StringSearchAlgorithmpublic StringFinder createFinder(ByteProvider bytes, StringFinderOption... options)
StringSearchAlgorithmcreateFinder in interface StringSearchAlgorithmbytes - the given document wrapped into a ByteProvideroptions - the configuration options for the string finderCopyright © 2017. All rights reserved.