Uses of Class
com.google.common.base.CharMatcher
-
Packages that use CharMatcher Package Description com.google.common.base Basic utility libraries and interfaces.com.google.common.net This package contains utility methods and classes for working with net addresses (numeric IP and domain names).com.google.common.testing This package contains testing utilities. -
-
Uses of CharMatcher in com.google.common.base
Subclasses of CharMatcher in com.google.common.base Modifier and Type Class Description private static classCharMatcher.AndImplementation ofand(CharMatcher).private static classCharMatcher.AnyImplementation ofany().private static classCharMatcher.AnyOfImplementation ofanyOf(CharSequence)for three or more characters.private static classCharMatcher.AsciiImplementation ofascii().private static classCharMatcher.BitSetMatcherFast matcher using aBitSettable of matching characters.private static classCharMatcher.BreakingWhitespaceImplementation ofbreakingWhitespace().private static classCharMatcher.DigitImplementation ofdigit().(package private) static classCharMatcher.FastMatcherA matcher for which precomputation will not yield any significant benefit.private static classCharMatcher.ForPredicateImplementation offorPredicate(Predicate).private static classCharMatcher.InRangeImplementation ofinRange(char, char).private static classCharMatcher.InvisibleImplementation ofinvisible().private static classCharMatcher.IsImplementation ofis(char).private static classCharMatcher.IsEitherImplementation ofanyOf(CharSequence)for exactly two characters.private static classCharMatcher.IsNotImplementation ofisNot(char).private static classCharMatcher.JavaDigitImplementation ofjavaDigit().private static classCharMatcher.JavaIsoControlImplementation ofjavaIsoControl().private static classCharMatcher.JavaLetterImplementation ofjavaLetter().private static classCharMatcher.JavaLetterOrDigitImplementation ofjavaLetterOrDigit().private static classCharMatcher.JavaLowerCaseImplementation ofjavaLowerCase().private static classCharMatcher.JavaUpperCaseImplementation ofjavaUpperCase().(package private) static classCharMatcher.NamedFastMatcherCharMatcher.FastMatcherwhich overridestoString()with a custom name.private static classCharMatcher.NegatedImplementation ofCharMatcher.Negated.negate().(package private) static classCharMatcher.NegatedFastMatcherNegation of aCharMatcher.FastMatcher.private static classCharMatcher.NoneImplementation ofnone().private static classCharMatcher.OrImplementation ofor(CharMatcher).private static classCharMatcher.RangesMatcherImplementation that matches characters that fall within multiple ranges.private static classCharMatcher.SingleWidthImplementation ofsingleWidth().(package private) static classCharMatcher.WhitespaceImplementation ofwhitespace().(package private) classSmallCharMatcherAn 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 CharMatcher Modifier and Type Field Description (package private) CharMatcherCharMatcher.And. first(package private) CharMatcherCharMatcher.Or. first(package private) static CharMatcherCharMatcher.BreakingWhitespace. INSTANCE(package private) CharMatcherCharMatcher.Negated. original(package private) CharMatcherCharMatcher.And. second(package private) CharMatcherCharMatcher.Or. second(package private) CharMatcherSplitter.SplittingIterator. trimmerprivate CharMatcherSplitter. trimmerprivate CharMatcherCaseFormat. wordBoundaryMethods in com.google.common.base that return CharMatcher Modifier and Type Method Description CharMatcherCharMatcher. and(CharMatcher other)Returns a matcher that matches any character matched by both this matcher andother.CharMatcherCharMatcher.Any. and(CharMatcher other)CharMatcherCharMatcher.Is. and(CharMatcher other)CharMatcherCharMatcher.IsNot. and(CharMatcher other)CharMatcherCharMatcher.None. and(CharMatcher other)static CharMatcherCharMatcher. any()Matches any character.static CharMatcherCharMatcher. anyOf(java.lang.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 java.lang.Character> predicate)Returns a matcher with identical behavior to the givenCharacter-based predicate, but which operates on primitivecharinstances instead.(package private) static CharMatcherSmallCharMatcher. from(java.util.BitSet chars, java.lang.String description)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.CharMatcherCharMatcher.Any. negate()CharMatcherCharMatcher.FastMatcher. negate()CharMatcherCharMatcher.Is. negate()CharMatcherCharMatcher.IsNot. negate()CharMatcherCharMatcher. negate()Returns a matcher that matches any character not matched by this matcher.CharMatcherCharMatcher.Negated. negate()CharMatcherCharMatcher.None. negate()static CharMatcherCharMatcher. none()Matches no characters.static CharMatcherCharMatcher. noneOf(java.lang.CharSequence sequence)Returns acharmatcher that matches any BMP character not present in the given character sequence.CharMatcherCharMatcher.Any. or(CharMatcher other)CharMatcherCharMatcher.Is. or(CharMatcher other)CharMatcherCharMatcher.IsNot. or(CharMatcher other)CharMatcherCharMatcher.None. or(CharMatcher other)CharMatcherCharMatcher. or(CharMatcher other)Returns a matcher that matches any character matched by either this matcher orother.(package private) static CharMatcherPlatform. precomputeCharMatcher(CharMatcher matcher)CharMatcherCharMatcher.FastMatcher. precomputed()CharMatcherCharMatcher.NegatedFastMatcher. precomputed()CharMatcherCharMatcher. 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, java.util.BitSet table, java.lang.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 CharMatcher Modifier and Type Method Description CharMatcherCharMatcher. and(CharMatcher other)Returns a matcher that matches any character matched by both this matcher andother.CharMatcherCharMatcher.Any. and(CharMatcher other)CharMatcherCharMatcher.Is. and(CharMatcher other)CharMatcherCharMatcher.IsNot. and(CharMatcher other)CharMatcherCharMatcher.None. and(CharMatcher other)static SplitterSplitter. on(CharMatcher separatorMatcher)Returns a splitter that considers any single character matched by the givenCharMatcherto be a separator.CharMatcherCharMatcher.Any. or(CharMatcher other)CharMatcherCharMatcher.Is. or(CharMatcher other)CharMatcherCharMatcher.IsNot. or(CharMatcher other)CharMatcherCharMatcher.None. or(CharMatcher other)CharMatcherCharMatcher. or(CharMatcher other)Returns a matcher that matches any character matched by either this matcher orother.(package private) static CharMatcherPlatform. precomputeCharMatcher(CharMatcher matcher)SplitterSplitter. 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 CharMatcher Constructor Description And(CharMatcher a, CharMatcher b)CaseFormat(CharMatcher wordBoundary, java.lang.String wordSeparator)Negated(CharMatcher original)NegatedFastMatcher(CharMatcher original)Or(CharMatcher a, CharMatcher b)Splitter(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 CharMatcher Modifier and Type Field Description private static CharMatcherInternetDomainName. DASH_MATCHERprivate static CharMatcherInternetDomainName. DOTS_MATCHERprivate static CharMatcherMediaType. LINEAR_WHITE_SPACEprivate static CharMatcherInternetDomainName. PART_CHAR_MATCHERprivate static CharMatcherMediaType. QUOTED_TEXT_MATCHERprivate static CharMatcherMediaType. TOKEN_MATCHERMatcher for type, subtype and attributes.Methods in com.google.common.net with parameters of type CharMatcher Modifier and Type Method Description (package private) charMediaType.Tokenizer. consumeCharacter(CharMatcher matcher)(package private) java.lang.StringMediaType.Tokenizer. consumeToken(CharMatcher matcher)(package private) java.lang.StringMediaType.Tokenizer. consumeTokenIfPresent(CharMatcher matcher) -
Uses of CharMatcher in com.google.common.testing
Methods in com.google.common.testing that return CharMatcher Modifier and Type Method Description private CharMatcherFreshValueGenerator. generateCharMatcher()
-