Uses of Class
com.google.common.base.CharMatcher
Packages that use CharMatcher
Package
Description
Basic utility libraries and interfaces.
This package contains utility methods and classes for working with net addresses (numeric IP and
domain names).
This package contains testing utilities.
-
Uses of CharMatcher in com.google.common.base
Subclasses of CharMatcher in com.google.common.baseModifier and TypeClassDescriptionprivate static final classImplementation ofand(CharMatcher).private static final classImplementation ofany().private static final classImplementation ofanyOf(CharSequence)for three or more characters.private static final classImplementation ofascii().private static final classFast matcher using aBitSettable of matching characters.private static final classImplementation ofbreakingWhitespace().private static final classImplementation ofdigit().(package private) static classA matcher for which precomputation will not yield any significant benefit.private static final classImplementation offorPredicate(Predicate).private static final classImplementation ofinRange(char, char).private static final classImplementation ofinvisible().private static final classImplementation ofis(char).private static final classImplementation ofanyOf(CharSequence)for exactly two characters.private static final classImplementation ofisNot(char).private static final classImplementation ofjavaDigit().private static final classImplementation ofjavaIsoControl().private static final classImplementation ofjavaLetter().private static final classImplementation ofjavaLetterOrDigit().private static final classImplementation ofjavaLowerCase().private static final classImplementation ofjavaUpperCase().(package private) static classCharMatcher.FastMatcherwhich overridestoString()with a custom name.private static classImplementation ofCharMatcher.Negated.negate().(package private) static classNegation of aCharMatcher.FastMatcher.private static final classImplementation ofnone().private static final classImplementation ofor(CharMatcher).private static classImplementation that matches characters that fall within multiple ranges.private static final classImplementation ofsingleWidth().(package private) static final classImplementation ofwhitespace().(package private) final classAn immutable version of CharMatcher for smallish sets of characters that uses a hash table with linear probing to check for matches.Fields in com.google.common.base declared as CharMatcherModifier and TypeFieldDescription(package private) final CharMatcherCharMatcher.And.first(package private) final CharMatcherCharMatcher.Or.first(package private) static final CharMatcherCharMatcher.BreakingWhitespace.INSTANCE(package private) final CharMatcherCharMatcher.Negated.original(package private) final CharMatcherCharMatcher.And.second(package private) final CharMatcherCharMatcher.Or.second(package private) final CharMatcherSplitter.SplittingIterator.trimmerprivate final CharMatcherSplitter.trimmerprivate final CharMatcherCaseFormat.wordBoundaryMethods 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.CharMatcher.Any.and(CharMatcher other) CharMatcher.Is.and(CharMatcher other) CharMatcher.IsNot.and(CharMatcher other) CharMatcher.None.and(CharMatcher other) 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.(package private) static CharMatcherstatic 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.Any.negate()CharMatcher.FastMatcher.negate()CharMatcher.Is.negate()CharMatcher.IsNot.negate()CharMatcher.negate()Returns a matcher that matches any character not matched by this matcher.CharMatcher.Negated.negate()CharMatcher.None.negate()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.Any.or(CharMatcher other) CharMatcher.Is.or(CharMatcher other) CharMatcher.IsNot.or(CharMatcher other) CharMatcher.None.or(CharMatcher other) CharMatcher.or(CharMatcher other) Returns a matcher that matches any character matched by either this matcher orother.(package private) static CharMatcherPlatform.precomputeCharMatcher(CharMatcher matcher) final CharMatcherCharMatcher.FastMatcher.precomputed()final CharMatcherCharMatcher.NegatedFastMatcher.precomputed()CharMatcher.precomputed()Returns acharmatcher functionally equivalent to this one, but which may be faster to query than the original; your mileage may vary.(package private) CharMatcherCharMatcher.precomputedInternal()This is the actual implementation ofprecomputed(), but we bounce calls through a method onPlatformso that we can have different behavior in GWT.private static CharMatcherCharMatcher.precomputedPositive(int totalCharacters, BitSet table, String description) Helper method forprecomputedInternal()that doesn't test if the negation is cheaper.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.CharMatcher.Any.and(CharMatcher other) CharMatcher.Is.and(CharMatcher other) CharMatcher.IsNot.and(CharMatcher other) CharMatcher.None.and(CharMatcher other) static SplitterSplitter.on(CharMatcher separatorMatcher) Returns a splitter that considers any single character matched by the givenCharMatcherto be a separator.CharMatcher.Any.or(CharMatcher other) CharMatcher.Is.or(CharMatcher other) CharMatcher.IsNot.or(CharMatcher other) CharMatcher.None.or(CharMatcher other) CharMatcher.or(CharMatcher other) Returns a matcher that matches any character matched by either this matcher orother.(package private) static CharMatcherPlatform.precomputeCharMatcher(CharMatcher matcher) Splitter.trimResults(CharMatcher trimmer) Returns a splitter that behaves equivalently tothissplitter, but removes all leading or trailing characters matching the givenCharMatcherfrom each returned substring.Constructors in com.google.common.base with parameters of type CharMatcherModifierConstructorDescription(package private)And(CharMatcher a, CharMatcher b) privateCaseFormat(CharMatcher wordBoundary, String wordSeparator) (package private)Negated(CharMatcher original) (package private)NegatedFastMatcher(CharMatcher original) (package private)Or(CharMatcher a, CharMatcher b) privateSplitter(Splitter.Strategy strategy, boolean omitEmptyStrings, CharMatcher trimmer, int limit) -
Uses of CharMatcher in com.google.common.net
Fields in com.google.common.net declared as CharMatcherModifier and TypeFieldDescriptionprivate static final CharMatcherInternetDomainName.DASH_MATCHERprivate static final CharMatcherInternetDomainName.DIGIT_MATCHERprivate static final CharMatcherInternetDomainName.DOTS_MATCHERprivate static final CharMatcherInetAddresses.IPV4_DELIMITER_MATCHERprivate static final CharMatcherInetAddresses.IPV6_DELIMITER_MATCHERprivate static final CharMatcherInternetDomainName.LETTER_MATCHERprivate static final CharMatcherMediaType.LINEAR_WHITE_SPACEprivate static final CharMatcherInternetDomainName.PART_CHAR_MATCHERprivate static final CharMatcherMediaType.QUOTED_TEXT_MATCHERprivate static final CharMatcherMediaType.TOKEN_MATCHERMatcher for type, subtype and attributes.Methods in com.google.common.net with parameters of type CharMatcherModifier and TypeMethodDescription(package private) charMediaType.Tokenizer.consumeCharacter(CharMatcher matcher) (package private) StringMediaType.Tokenizer.consumeToken(CharMatcher matcher) (package private) StringMediaType.Tokenizer.consumeTokenIfPresent(CharMatcher matcher) -
Uses of CharMatcher in com.google.common.testing
Methods in com.google.common.testing that return CharMatcherModifier and TypeMethodDescription(package private) CharMatcherFreshValueGenerator.generateCharMatcher()