Uses of Class
com.google.common.base.CharMatcher
Packages that use CharMatcher
-
Uses of CharMatcher in com.google.common.base
Methods in com.google.common.base that return CharMatcherModifier and TypeMethodDescriptionCharMatcher.and(CharMatcher other) Returns a matcher that matches any character matched by both this matcher andother.static CharMatcherCharMatcher.any()Matches any character.static CharMatcherCharMatcher.anyOf(CharSequence sequence) Returns acharmatcher that matches any BMP character present in the given character sequence.static CharMatcherCharMatcher.ascii()Determines whether a character is ASCII, meaning that its code point is less than 128.static CharMatcherCharMatcher.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).static CharMatcherCharMatcher.digit()Deprecated.Many digits are supplementary characters; see the class documentation.static CharMatcherCharMatcher.forPredicate(Predicate<? super Character> predicate) Returns a matcher with identical behavior to the givenCharacter-based predicate, but which operates on primitivecharinstances instead.static CharMatcherCharMatcher.inRange(char startInclusive, char endInclusive) Returns acharmatcher that matches any character in a given BMP range (both endpoints are inclusive).static CharMatcherCharMatcher.invisible()Deprecated.Most invisible characters are supplementary characters; see the class documentation.static CharMatcherCharMatcher.is(char match) Returns acharmatcher that matches only one specified BMP character.static CharMatcherCharMatcher.isNot(char match) Returns acharmatcher that matches any character except the BMP character specified.static CharMatcherCharMatcher.javaDigit()Deprecated.Many digits are supplementary characters; see the class documentation.static CharMatcherCharMatcher.javaIsoControl()Determines whether a character is an ISO control character as specified byCharacter.isISOControl(char).static CharMatcherCharMatcher.javaLetter()Deprecated.Most letters are supplementary characters; see the class documentation.static CharMatcherCharMatcher.javaLetterOrDigit()Deprecated.Most letters and digits are supplementary characters; see the class documentation.static CharMatcherCharMatcher.javaLowerCase()Deprecated.Some lowercase characters are supplementary characters; see the class documentation.static CharMatcherCharMatcher.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.static CharMatcherCharMatcher.none()Matches no characters.static CharMatcherCharMatcher.noneOf(CharSequence sequence) Returns acharmatcher 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 orother.CharMatcher.precomputed()Returns acharmatcher functionally equivalent to this one, but which may be faster to query than the original; your mileage may vary.static CharMatcherCharMatcher.singleWidth()Deprecated.Many such characters are supplementary characters; see the class documentation.static CharMatcherCharMatcher.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 CharMatcherModifier and TypeMethodDescriptionCharMatcher.and(CharMatcher other) Returns a matcher that matches any character matched by both this matcher andother.static SplitterSplitter.on(CharMatcher separatorMatcher) Returns a splitter that considers any single character matched by the givenCharMatcherto be a separator.CharMatcher.or(CharMatcher other) Returns a matcher that matches any character matched by either this matcher orother.Splitter.trimResults(CharMatcher trimmer) Returns a splitter that behaves equivalently tothissplitter, but removes all leading or trailing characters matching the givenCharMatcherfrom each returned substring.