public final class DefaultPropertyNameMatcher extends Object implements PropertyNameMatcher
Constructor and Description |
---|
DefaultPropertyNameMatcher(String column,
int from,
boolean exactMatch,
boolean caseSensitive) |
Modifier and Type | Method and Description |
---|---|
int |
asScore() |
static PropertyNameMatcher |
exact(String value) |
static boolean |
isSeparatorChar(char charColumn) |
List<PropertyNameMatcherKeyValuePair> |
keyValuePairs() |
PropertyNameMatch |
matches(CharSequence property) |
IndexedColumn |
matchIndex() |
static PropertyNameMatcher |
of(String value) |
PropertyNameMatch |
partialMatch(CharSequence property) |
PropertyNameMatch |
speculativeMatch() |
static int |
toScore(String property) |
static int |
toScore(String property,
int from) |
String |
toString() |
public DefaultPropertyNameMatcher(String column, int from, boolean exactMatch, boolean caseSensitive)
public PropertyNameMatch matches(CharSequence property)
matches
in interface PropertyNameMatcher
public IndexedColumn matchIndex()
matchIndex
in interface PropertyNameMatcher
public static boolean isSeparatorChar(char charColumn)
public PropertyNameMatch partialMatch(CharSequence property)
partialMatch
in interface PropertyNameMatcher
public PropertyNameMatch speculativeMatch()
speculativeMatch
in interface PropertyNameMatcher
public List<PropertyNameMatcherKeyValuePair> keyValuePairs()
keyValuePairs
in interface PropertyNameMatcher
public int asScore()
asScore
in interface PropertyNameMatcher
public static int toScore(String property)
public static int toScore(String property, int from)
public static PropertyNameMatcher of(String value)
public static PropertyNameMatcher exact(String value)
Copyright © 2019. All rights reserved.