Class CharMatcher.Whitespace

All Implemented Interfaces:
Predicate<Character>, Predicate<Character>
Enclosing class:
CharMatcher

static final class CharMatcher.Whitespace extends CharMatcher.NamedFastMatcher
Implementation of CharMatcher.whitespace().
  • Field Details

  • Constructor Details

    • Whitespace

      Whitespace()
  • Method Details

    • 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(BitSet table)
      Description copied from class: CharMatcher
      Sets bits in table matched by this matcher.
      Overrides:
      setBits in class CharMatcher