Package org.opensearch.analysis.common
Interface CharMatcher
- All Known Implementing Classes:
CharMatcher.Basic,CharMatcher.ByUnicodeCategory
public interface CharMatcher
A class to match character code points.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCharMatcher.Basicstatic classCharMatcher.Builderstatic classCharMatcher.ByUnicodeCategory -
Method Summary
Modifier and Type Method Description booleanisTokenChar(int c)Returns true if, and only if, the provided character matches this character class.
-
Method Details
-
isTokenChar
boolean isTokenChar(int c)Returns true if, and only if, the provided character matches this character class.
-