Class CharMatcher.IsNot

    • Field Detail

      • match

        private final char match
    • Constructor Detail

      • IsNot

        IsNot​(char match)
    • Method Detail

      • matches

        public boolean matches​(char c)
        Description copied from class: CharMatcher
        Determines a true or false value for the given character.
        Specified by:
        matches in class CharMatcher
      • setBits

        void setBits​(java.util.BitSet table)
        Description copied from class: CharMatcher
        Sets bits in table matched by this matcher.
        Overrides:
        setBits in class CharMatcher
      • negate

        public CharMatcher negate()
        Description copied from class: CharMatcher
        Returns a matcher that matches any character not matched by this matcher.
        Specified by:
        negate in interface java.util.function.Predicate<java.lang.Character>
        Overrides:
        negate in class CharMatcher.FastMatcher
      • toString

        public java.lang.String toString()
        Description copied from class: CharMatcher
        Returns a string representation of this CharMatcher, such as CharMatcher.or(WHITESPACE, JAVA_DIGIT).
        Overrides:
        toString in class CharMatcher