/** * Finds the last index of an element or <code>-1</code> if not found. */ public static int lastIndexOf(short[] array, short element) { return lastIndexOf(array, element, array.length-1); }
/** * Finds the last index of an element or <code>-1</code> if not found. */ public static int lastIndexOf(byte[] array, byte element) { return lastIndexOf(array, element, array.length-1); }
/** * Finds the last index of an element or <code>-1</code> if not found. */ public static int lastIndexOf(long[] array, long element) { return lastIndexOf(array, element, array.length-1); }
/** * Finds the last index of an element or <code>-1</code> if not found. */ public static <E extends Enum<E>> int lastIndexOf(E[] array, E element) { return lastIndexOf(array, element, array.length-1); }
/** * Finds the last index of an element or <code>-1</code> if not found. */ public static int lastIndexOf(int[] array, int element) { return lastIndexOf(array, element, array.length-1); }
/** * Finds the last index of an element or <code>-1</code> if not found. */ public static int lastIndexOf(double[] array, double element) { return lastIndexOf(array, element, array.length-1); }
/** * Finds the last index of an element or <code>-1</code> if not found. */ public static <E> int lastIndexOf(E[] array, E element) { return lastIndexOf(array, element, array.length-1); }
/** * Finds the last index of an element or <code>-1</code> if not found. */ public static int lastIndexOf(float[] array, float element) { return lastIndexOf(array, element, array.length-1); }
/** * Finds the last index of an element or <code>-1</code> if not found. */ public static int lastIndexOf(char[] array, char element) { return lastIndexOf(array, element, array.length-1); }