MCPcopy Create free account
hub / github.com/davidgiven/luje / indexOf

Method indexOf

lib/java/lang/AbstractStringBuilder.java:658–660  ·  view source on GitHub ↗

Searches for the first index of the specified character. The search for the character starts at the beginning and moves towards the end. @param string the string to find. @return the index of the specified character, -1 if the character isn't found. @see #lastIndexOf(String) @sin

(String string)

Source from the content-addressed store, hash-verified

656 * @since 1.4
657 */
658 public int indexOf(String string) {
659 return indexOf(string, 0);
660 }
661
662 /**
663 * Searches for the index of the specified character. The search for the

Callers

nothing calls this directly

Calls 2

lengthMethod · 0.65
charAtMethod · 0.65

Tested by

no test coverage detected