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.io This package contains utility methods and classes for working with Java I/O; for example input streams, output streams, readers, writers, and files.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 static CharMatcherCharMatcher. ANYDeprecated.Useany()instead.static CharMatcherCharMatcher. ASCIIDeprecated.Useascii()instead.static CharMatcherCharMatcher. BREAKING_WHITESPACEDeprecated.UsebreakingWhitespace()instead.static CharMatcherCharMatcher. DIGITDeprecated.Usedigit()instead.(package private) CharMatcherCharMatcher.And. first(package private) CharMatcherCharMatcher.Or. first(package private) static CharMatcherCharMatcher.BreakingWhitespace. INSTANCEstatic CharMatcherCharMatcher. INVISIBLEDeprecated.Useinvisible()instead.static CharMatcherCharMatcher. JAVA_DIGITDeprecated.UsejavaDigit()instead.static CharMatcherCharMatcher. JAVA_ISO_CONTROLDeprecated.UsejavaIsoControl()instead.static CharMatcherCharMatcher. JAVA_LETTERDeprecated.UsejavaLetter()instead.static CharMatcherCharMatcher. JAVA_LETTER_OR_DIGITDeprecated.UsejavaLetterOrDigit()instead.static CharMatcherCharMatcher. JAVA_LOWER_CASEDeprecated.UsejavaLowerCase()instead.static CharMatcherCharMatcher. JAVA_UPPER_CASEDeprecated.UsejavaUpperCase()instead.static CharMatcherCharMatcher. NONEDeprecated.Usenone()instead.(package private) CharMatcherCharMatcher.Negated. original(package private) CharMatcherCharMatcher.And. second(package private) CharMatcherCharMatcher.Or. secondstatic CharMatcherCharMatcher. SINGLE_WIDTHDeprecated.UsesingleWidth()instead.(package private) CharMatcherSplitter.SplittingIterator. trimmerprivate CharMatcherSplitter. trimmerstatic CharMatcherCharMatcher. WHITESPACEDeprecated.Usewhitespace()instead.private 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 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()Determines whether a character is a digit according to Unicode.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 range (both endpoints are inclusive).static CharMatcherCharMatcher. invisible()Determines whether a character is invisible; that is, if its Unicode category is any of SPACE_SEPARATOR, LINE_SEPARATOR, PARAGRAPH_SEPARATOR, CONTROL, FORMAT, SURROGATE, and PRIVATE_USE according to ICU4J.static CharMatcherCharMatcher. is(char match)Returns acharmatcher that matches only one specified character.static CharMatcherCharMatcher. isNot(char match)Returns acharmatcher that matches any character except the one specified.static CharMatcherCharMatcher. javaDigit()Determines whether a character is a digit according to Java's definition.static CharMatcherCharMatcher. javaIsoControl()Determines whether a character is an ISO control character as specified byCharacter.isISOControl(char).static CharMatcherCharMatcher. javaLetter()Determines whether a character is a letter according to Java's definition.static CharMatcherCharMatcher. javaLetterOrDigit()Determines whether a character is a letter or digit according to Java's definition.static CharMatcherCharMatcher. javaLowerCase()Determines whether a character is lower case according to Java's definition.static CharMatcherCharMatcher. javaUpperCase()Determines whether a character is upper case according to Java's definition.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 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()Determines whether a character is single-width (not double-width).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.io
Subclasses of CharMatcher in com.google.common.io Modifier and Type Class Description private static classBaseEncoding.AlphabetFields in com.google.common.io declared as CharMatcher Modifier and Type Field Description private CharMatcherBaseEncoding.SeparatedBaseEncoding. separatorCharsMethods in com.google.common.io that return CharMatcher Modifier and Type Method Description (package private) abstract CharMatcherBaseEncoding. padding()(package private) CharMatcherBaseEncoding.SeparatedBaseEncoding. padding()(package private) CharMatcherBaseEncoding.StandardBaseEncoding. padding()Methods in com.google.common.io with parameters of type CharMatcher Modifier and Type Method Description (package private) static java.io.ReaderBaseEncoding. ignoringReader(java.io.Reader delegate, CharMatcher toIgnore) -
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()
-