Android Utililty Methods Array Last Index Of

List of utility methods to do Array Last Index Of

Description

The list of methods to do Array Last Index Of are organized into topic(s).

Method

intlastIndexOf(Object[] array, Object objectToFind)

Finds the last index of the given object within the array.

This method returns #INDEX_NOT_FOUND (-1) for a null input array.

intlastIndexOf(Object[] array, Object objectToFind, int startIndex)

Finds the last index of the given object in the array starting at the given index.

This method returns #INDEX_NOT_FOUND (-1) for a null input array.

A negative startIndex will return #INDEX_NOT_FOUND (-1).

intlastIndexOf(boolean[] array, boolean valueToFind)

Finds the last index of the given value within the array.

This method returns #INDEX_NOT_FOUND (-1) if null array input.

intlastIndexOf(boolean[] array, boolean valueToFind, int startIndex)

Finds the last index of the given value in the array starting at the given index.

This method returns #INDEX_NOT_FOUND (-1) for a null input array.

A negative startIndex will return #INDEX_NOT_FOUND (-1).

intlastIndexOf(byte[] array, byte valueToFind)

Finds the last index of the given value within the array.

This method returns #INDEX_NOT_FOUND (-1) for a null input array.

intlastIndexOf(byte[] array, byte valueToFind, int startIndex)

Finds the last index of the given value in the array starting at the given index.

This method returns #INDEX_NOT_FOUND (-1) for a null input array.

A negative startIndex will return #INDEX_NOT_FOUND (-1).

intlastIndexOf(char[] array, char valueToFind)

Finds the last index of the given value within the array.

This method returns #INDEX_NOT_FOUND (-1) for a null input array.

intlastIndexOf(char[] array, char valueToFind, int startIndex)

Finds the last index of the given value in the array starting at the given index.

This method returns #INDEX_NOT_FOUND (-1) for a null input array.

A negative startIndex will return #INDEX_NOT_FOUND (-1).

intlastIndexOf(double[] array, double valueToFind)

Finds the last index of the given value within the array.

This method returns #INDEX_NOT_FOUND (-1) for a null input array.

intlastIndexOf(double[] array, double valueToFind, double tolerance)

Finds the last index of the given value within a given tolerance in the array.