public class BPGlushkov extends Object implements StringSearchAlgorithm
| Modifier and Type | Class and Description |
|---|---|
static class |
BPGlushkov.Factory |
| Constructor and Description |
|---|
BPGlushkov(String pattern,
net.amygdalum.regexparser.RegexParserOption... options) |
| Modifier and Type | Method and Description |
|---|---|
StringFinder |
createFinder(net.amygdalum.util.io.CharProvider chars,
StringFinderOption... options)
creates a StringFinder instance from the pattern (given by the current instance) and the given document.
|
int |
getPatternLength() |
String |
toString() |
public BPGlushkov(String pattern, net.amygdalum.regexparser.RegexParserOption... options)
public StringFinder createFinder(net.amygdalum.util.io.CharProvider chars, StringFinderOption... options)
StringSearchAlgorithmcreateFinder in interface StringSearchAlgorithmchars - the given document wrapped into a CharProvideroptions - the configuration options for the string finderpublic int getPatternLength()
getPatternLength in interface StringSearchAlgorithmCopyright © 2020. All rights reserved.