Uses of Class
com.google.common.base.CharMatcher

Packages that use CharMatcher
Package
Description
Basic utility libraries and interfaces.
  • Uses of CharMatcher in com.google.common.base

    Methods in com.google.common.base that return CharMatcher
    Modifier and Type
    Method
    Description
    CharMatcher.and(CharMatcher other)
    Returns a matcher that matches any character matched by both this matcher and other.
    CharMatcher.any()
    Matches any character.
    CharMatcher.anyOf(CharSequence sequence)
    Returns a char matcher that matches any BMP character present in the given character sequence.
    CharMatcher.ascii()
    Determines whether a character is ASCII, meaning that its code point is less than 128.
    CharMatcher.breakingWhitespace()
    Determines whether a character is a breaking whitespace (that is, a whitespace which can be interpreted as a break between words for formatting purposes).
    CharMatcher.digit()
    Deprecated.
    Many digits are supplementary characters; see the class documentation.
    CharMatcher.forPredicate(Predicate<? super Character> predicate)
    Returns a matcher with identical behavior to the given Character-based predicate, but which operates on primitive char instances instead.
    CharMatcher.inRange(char startInclusive, char endInclusive)
    Returns a char matcher that matches any character in a given BMP range (both endpoints are inclusive).
    CharMatcher.invisible()
    Deprecated.
    Most invisible characters are supplementary characters; see the class documentation.
    CharMatcher.is(char match)
    Returns a char matcher that matches only one specified BMP character.
    CharMatcher.isNot(char match)
    Returns a char matcher that matches any character except the BMP character specified.
    CharMatcher.javaDigit()
    Deprecated.
    Many digits are supplementary characters; see the class documentation.
    CharMatcher.javaIsoControl()
    Determines whether a character is an ISO control character as specified by Character.isISOControl(char).
    CharMatcher.javaLetter()
    Deprecated.
    Most letters are supplementary characters; see the class documentation.
    CharMatcher.javaLetterOrDigit()
    Deprecated.
    Most letters and digits are supplementary characters; see the class documentation.
    CharMatcher.javaLowerCase()
    Deprecated.
    Some lowercase characters are supplementary characters; see the class documentation.
    CharMatcher.javaUpperCase()
    Deprecated.
    Some uppercase characters are supplementary characters; see the class documentation.
    CharMatcher.negate()
    Returns a matcher that matches any character not matched by this matcher.
    CharMatcher.none()
    Matches no characters.
    CharMatcher.noneOf(CharSequence sequence)
    Returns a char matcher that matches any BMP character not present in the given character sequence.
    CharMatcher.or(CharMatcher other)
    Returns a matcher that matches any character matched by either this matcher or other.
    CharMatcher.precomputed()
    Returns a char matcher functionally equivalent to this one, but which may be faster to query than the original; your mileage may vary.
    CharMatcher.singleWidth()
    Deprecated.
    Many such characters are supplementary characters; see the class documentation.
    CharMatcher.whitespace()
    Determines whether a character is whitespace according to the latest Unicode standard, as illustrated here.
    Methods in com.google.common.base with parameters of type CharMatcher
    Modifier and Type
    Method
    Description
    CharMatcher.and(CharMatcher other)
    Returns a matcher that matches any character matched by both this matcher and other.
    static Splitter
    Splitter.on(CharMatcher separatorMatcher)
    Returns a splitter that considers any single character matched by the given CharMatcher to be a separator.
    CharMatcher.or(CharMatcher other)
    Returns a matcher that matches any character matched by either this matcher or other.
    Splitter.trimResults(CharMatcher trimmer)
    Returns a splitter that behaves equivalently to this splitter, but removes all leading or trailing characters matching the given CharMatcher from each returned substring.