Class CharMatcher.ByUnicodeCategory

java.lang.Object
org.opensearch.analysis.common.CharMatcher.ByUnicodeCategory
All Implemented Interfaces:
CharMatcher
Enclosing interface:
CharMatcher

public static class CharMatcher.ByUnicodeCategory extends Object implements CharMatcher
  • Method Details

    • of

      public static CharMatcher of(byte unicodeCategory)
    • isTokenChar

      public boolean isTokenChar(int c)
      Description copied from interface: CharMatcher
      Returns true if, and only if, the provided character matches this character class.
      Specified by:
      isTokenChar in interface CharMatcher