Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for greatestOf (0.08 sec)

  1. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @param array an array of {@code short} values, possibly empty
       * @param target a primitive {@code short} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(short[] array, short target) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Chars.java

       *
       * @param array an array of {@code char} values, possibly empty
       * @param target a primitive {@code char} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(char[] array, char target) {
        return lastIndexOf(array, target, 0, array.length);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Floats.java

       * that this always returns {@code -1} when {@code target} is {@code NaN}.
       *
       * @param array an array of {@code float} values, possibly empty
       * @param target a primitive {@code float} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(float[] array, float target) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Doubles.java

       * that this always returns {@code -1} when {@code target} is {@code NaN}.
       *
       * @param array an array of {@code double} values, possibly empty
       * @param target a primitive {@code double} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(double[] array, double target) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

       *
       * @param array an array of {@code int} values, possibly empty
       * @param target a primitive {@code int} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(int[] array, int target) {
        return lastIndexOf(array, target, 0, array.length);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/SortedLists.java

    import java.util.List;
    import java.util.RandomAccess;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static methods pertaining to sorted {@link List} instances.
     *
     * <p>In this documentation, the terms <i>greatest</i>, <i>greater</i>, <i>least</i>, and
     * <i>lesser</i> are considered to refer to the comparator on the elements, and the terms
     * <i>first</i> and <i>last</i> are considered to refer to the elements' ordering in a list.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        for (int i = 1; i < array.length; i++) {
          long next = flip(array[i]);
          if (next < min) {
            min = next;
          }
        }
        return flip(min);
      }
    
      /**
       * Returns the greatest value present in {@code array}, treating values as unsigned.
       *
       * @param array a <i>nonempty</i> array of unsigned {@code long} values
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Longs.java

       *
       * @param array an array of {@code long} values, possibly empty
       * @param target a primitive {@code long} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(long[] array, long target) {
        return lastIndexOf(array, target, 0, array.length);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 29K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Booleans.java

       *
       * @param array an array of {@code boolean} values, possibly empty
       * @param target a primitive {@code boolean} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(boolean[] array, boolean target) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Booleans.java

       *
       * @param array an array of {@code boolean} values, possibly empty
       * @param target a primitive {@code boolean} value
       * @return the greatest index {@code i} for which {@code array[i] == target}, or {@code -1} if no
       *     such index exists.
       */
      public static int lastIndexOf(boolean[] array, boolean target) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top