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 ClassesModifier and TypeInterfaceDescriptionstatic enumstatic final classstatic class -
Method Summary
Modifier and TypeMethodDescriptionbooleanisTokenChar(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.
-