Interface CharArrayMatcher
-
- All Known Subinterfaces:
LabelledCharArrayMatcher
public interface CharArrayMatcherMatches a character array- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static CharArrayMatcherfromTerms(List<BytesRef> terms)booleanmatch(char[] s, int offset, int length)Returntrueif the passed-in character array matchesdefault booleanmatch(CharsRef chars)Returntrueif the passed-in CharsRef matches
-
-
-
Method Detail
-
match
boolean match(char[] s, int offset, int length)Returntrueif the passed-in character array matches
-
match
default boolean match(CharsRef chars)
Returntrueif the passed-in CharsRef matches
-
fromTerms
static CharArrayMatcher fromTerms(List<BytesRef> terms)
-
-