MCPcopy Create free account
hub / github.com/antlr/codebuff / matchesNoneOf

Method matchesNoneOf

output/java_guava/1.4.16/CharMatcher.java:685–687  ·  view source on GitHub ↗

Returns true if a character sequence contains no matching characters. Equivalent to !matchesAnyOf(sequence). The default implementation iterates over the sequence, invoking #matches for each character, until this returns true or the end is reached. @param sequenc

(CharSequence sequence)

Source from the content-addressed store, hash-verified

683
684
685 public boolean matchesNoneOf(CharSequence sequence) {
686 return indexIn(sequence) == -1;
687 }
688
689 /**
690 * Returns the index of the first matching character in a character sequence, or {@code -1} if no

Callers 3

matchesAnyOfMethod · 0.95
withSeparatorMethod · 0.45
matchesAllOfMethod · 0.45

Calls 1

indexInMethod · 0.95

Tested by

no test coverage detected