MCPcopy Create free account
hub / github.com/M66B/FairEmail / indexOfAny

Method indexOfAny

app/src/main/java/javax/mail/URLName.java:696–698  ·  view source on GitHub ↗

Return the first index of any of the characters in "any" in "s", or -1 if none are found. This should be a method on String.

(String s, String any)

Source from the content-addressed store, hash-verified

694 * This should be a method on String.
695 */
696 private static int indexOfAny(String s, String any) {
697 return indexOfAny(s, any, 0);
698 }
699
700 private static int indexOfAny(String s, String any, int start) {
701 try {

Callers 1

decodeMethod · 0.95

Calls 3

indexOfMethod · 0.80
charAtMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected