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

Method lastIndexOf

lib/java/lang/AbstractStringBuilder.java:724–726  ·  view source on GitHub ↗

Searches for the last index of the specified character. The search for the character starts at the end and moves towards the beginning. @param string the string to find. @return the index of the specified character, -1 if the character isn't found. @throws NullPointerException

(String string)

Source from the content-addressed store, hash-verified

722 * @since 1.4
723 */
724 public int lastIndexOf(String string) {
725 return lastIndexOf(string, count);
726 }
727
728 /**
729 * 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