public class SetBackwardOracleMatching extends Object implements StringSearchAlgorithm
| Modifier and Type | Class and Description |
|---|---|
static class |
SetBackwardOracleMatching.Factory |
| Constructor and Description |
|---|
SetBackwardOracleMatching(Collection<String> patterns) |
SetBackwardOracleMatching(Collection<String> patterns,
net.amygdalum.util.text.CharMapping mapping) |
| Modifier and Type | Method and Description |
|---|---|
StringFinder |
createFinder(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 SetBackwardOracleMatching(Collection<String> patterns)
public SetBackwardOracleMatching(Collection<String> patterns, net.amygdalum.util.text.CharMapping mapping)
public StringFinder createFinder(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 © 2017. All rights reserved.