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

Method indexIn

output/java_guava/1.4.16/CharMatcher.java:701–703  ·  view source on GitHub ↗

Returns the index of the first matching character in a character sequence, or -1 if no matching character is present. The default implementation iterates over the sequence in forward order calling #matches for each character. @param sequence the character sequence to examine fro

(CharSequence sequence)

Source from the content-addressed store, hash-verified

699
700
701 public int indexIn(CharSequence sequence) {
702 return indexIn(sequence, 0);
703 }
704
705 /**
706 * Returns the index of the first matching character in a character sequence, starting from a

Callers 6

matchesNoneOfMethod · 0.95
removeFromMethod · 0.95
replaceFromMethod · 0.95
convertMethod · 0.45
consumeTokenIfPresentMethod · 0.45
separatorStartMethod · 0.45

Calls 3

matchesMethod · 0.95
lengthMethod · 0.45
checkPositionIndexMethod · 0.45

Tested by

no test coverage detected