public static int lastIndexOf(short[] array, short valueToFind) {
        return lastIndexOf(array, valueToFind, Integer.MAX_VALUE);
    }
<p>Finds the last index of the given value within the array.</p>

<p>This method returns {@link #INDEX_NOT_FOUND} ({@code -1}) for a {@code null} input array.</p>

@param array  the array to travers backwords looking for the object, may be {@code null}
@param valueToFind  the object to find
@return the last index of the value within the array,
 {@link #INDEX_NOT_FOUND} ({@code -1}) if not found or {@code null} array input
android/android_framework/base/src/main/java/lang3/ArrayUtils.java