Class CharMatcher.NamedFastMatcher

All Implemented Interfaces:
Predicate<Character>, Predicate<Character>
Direct Known Subclasses:
CharMatcher.Any, CharMatcher.Ascii, CharMatcher.BitSetMatcher, CharMatcher.JavaIsoControl, CharMatcher.None, CharMatcher.Whitespace, SmallCharMatcher
Enclosing class:
CharMatcher

abstract static class CharMatcher.NamedFastMatcher extends CharMatcher.FastMatcher
CharMatcher.FastMatcher which overrides toString() with a custom name.
  • Field Details

    • description

      private final String description
  • Constructor Details

    • NamedFastMatcher

      NamedFastMatcher(String description)
  • Method Details

    • toString

      public final 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