MCPcopy Index your code
hub / github.com/antlr/codebuff / lastIndexOf

Method lastIndexOf

output/java_guava/1.4.17/Ints.java:224–226  ·  view source on GitHub ↗

Returns the index of the last appearance of the value target in array. @param array an array of int values, possibly empty @param target a primitive int value @return the greatest index i for which array[i] == target, or -1 if no such inde

(int[] array, int target)

Source from the content-addressed store, hash-verified

222
223
224 public static int lastIndexOf(int[] array, int target) {
225 return lastIndexOf(array, target, 0, array.length);
226 }
227
228 // TODO(kevinb): consider making this public
229

Callers 15

lastIndexOfMethod · 0.95
stripLastPathElementMethod · 0.45
getFileNameNoSuffixMethod · 0.45
getParentMethod · 0.45
showMethod · 0.45
stripLastPathElementMethod · 0.45
getFileNameNoSuffixMethod · 0.45
getParentMethod · 0.45
showMethod · 0.45
stripLastPathElementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected