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

Method matchesNoneOf

output/java_guava/1.4.13/CharMatcher.java:683–685  ·  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

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

Callers 2

matchesAnyOfMethod · 0.95
matchesAllOfMethod · 0.45

Calls 1

indexInMethod · 0.95

Tested by

no test coverage detected