public class Sunday extends Object implements StringSearchAlgorithm
| Modifier and Type | Class and Description |
|---|---|
static class |
Sunday.Factory |
| Constructor and Description |
|---|
Sunday(String pattern) |
Sunday(String pattern,
boolean relaxed) |
| 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() |
static boolean |
isCompactRange(char[] pattern) |
String |
toString() |
public Sunday(String pattern)
public Sunday(String pattern, boolean relaxed)
public static boolean isCompactRange(char[] pattern)
public int getPatternLength()
getPatternLength in interface StringSearchAlgorithmpublic StringFinder createFinder(CharProvider chars, StringFinderOption... options)
StringSearchAlgorithmcreateFinder in interface StringSearchAlgorithmchars - the given document wrapped into a CharProvideroptions - the configuration options for the string finderCopyright © 2016. All rights reserved.