Class CharMatcher.ByUnicodeCategory

  • All Implemented Interfaces:
    CharMatcher
    Enclosing interface:
    CharMatcher

    public static class CharMatcher.ByUnicodeCategory
    extends java.lang.Object
    implements CharMatcher
    • Method Detail

      • 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