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)
| 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 |
no outgoing calls
no test coverage detected