Package com.google.common.base
Class CharMatcher.IsNot
java.lang.Object
com.google.common.base.CharMatcher
com.google.common.base.CharMatcher.FastMatcher
com.google.common.base.CharMatcher.IsNot
- Enclosing class:
- CharMatcher
Implementation of
CharMatcher.isNot(char).-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.base.CharMatcher
CharMatcher.FastMatcher, CharMatcher.NamedFastMatcher, CharMatcher.NegatedFastMatcher, CharMatcher.Whitespace -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionand(CharMatcher other) Returns a matcher that matches any character matched by both this matcher andother.booleanmatches(char c) Determines a true or false value for the given character.negate()Returns a matcher that matches any character not matched by this matcher.or(CharMatcher other) Returns a matcher that matches any character matched by either this matcher orother.(package private) voidSets bits intablematched by this matcher.toString()Returns a string representation of thisCharMatcher, such asCharMatcher.or(WHITESPACE, JAVA_DIGIT).Methods inherited from class com.google.common.base.CharMatcher.FastMatcher
precomputedMethods inherited from class com.google.common.base.CharMatcher
any, anyOf, apply, ascii, breakingWhitespace, collapseFrom, countIn, digit, forPredicate, indexIn, indexIn, inRange, invisible, is, isNot, javaDigit, javaIsoControl, javaLetter, javaLetterOrDigit, javaLowerCase, javaUpperCase, lastIndexIn, matchesAllOf, matchesAnyOf, matchesNoneOf, none, noneOf, precomputedInternal, removeFrom, replaceFrom, replaceFrom, retainFrom, singleWidth, trimAndCollapseFrom, trimFrom, trimLeadingFrom, trimTrailingFrom, whitespace
-
Field Details
-
match
private final char match
-
-
Constructor Details
-
IsNot
IsNot(char match)
-
-
Method Details
-
matches
public boolean matches(char c) Description copied from class:CharMatcherDetermines a true or false value for the given character.- Specified by:
matchesin classCharMatcher
-
and
Description copied from class:CharMatcherReturns a matcher that matches any character matched by both this matcher andother.- Overrides:
andin classCharMatcher
-
or
Description copied from class:CharMatcherReturns a matcher that matches any character matched by either this matcher orother.- Overrides:
orin classCharMatcher
-
setBits
Description copied from class:CharMatcherSets bits intablematched by this matcher.- Overrides:
setBitsin classCharMatcher
-
negate
Description copied from class:CharMatcherReturns a matcher that matches any character not matched by this matcher.- Specified by:
negatein interfacePredicate<Character>- Overrides:
negatein classCharMatcher.FastMatcher
-
toString
Description copied from class:CharMatcherReturns a string representation of thisCharMatcher, such asCharMatcher.or(WHITESPACE, JAVA_DIGIT).- Overrides:
toStringin classCharMatcher
-