Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for greatest (0.13 sec)

  1. guava/src/com/google/common/collect/Ordering.java

       * thisComparator))} instead.
       *
       * @return an immutable {@code RandomAccess} list of the {@code k} greatest elements in
       *     <i>descending order</i>
       * @throws IllegalArgumentException if {@code k} is negative
       * @since 8.0
       */
      public <E extends T> List<E> greatestOf(Iterable<E> iterable, int k) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead.
     *
     * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size of
     * the queue exceeds that value, the queue automatically removes its greatest element according to
     * its comparator (which might be the element that was just added). This is different from
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

       * thisComparator))} instead.
       *
       * @return an immutable {@code RandomAccess} list of the {@code k} greatest elements in
       *     <i>descending order</i>
       * @throws IllegalArgumentException if {@code k} is negative
       * @since 8.0
       */
      public <E extends T> List<E> greatestOf(Iterable<E> iterable, int k) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TopKSelector.java

       * Returns a {@code TopKSelector} that collects the greatest {@code k} elements added to it,
       * relative to the natural ordering of the elements, and returns them via {@link #topK} in
       * descending order.
       *
       * @throws IllegalArgumentException if {@code k < 0} or {@code k > Integer.MAX_VALUE / 2}
       */
      public static <T extends Comparable<? super T>> TopKSelector<T> greatest(int k) {
        return greatest(k, Ordering.natural());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead.
     *
     * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size of
     * the queue exceeds that value, the queue automatically removes its greatest element according to
     * its comparator (which might be the element that was just added). This is different from
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Ints.java

          if (array[i] < min) {
            min = array[i];
          }
        }
        return min;
      }
    
      /**
       * Returns the greatest value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code int} values
       * @return the value present in {@code array} that is greater than or equal to every other value
       *     in the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Doubles.java

        }
        return min;
      }
    
      /**
       * Returns the greatest value present in {@code array}, using the same rules of comparison as
       * {@link Math#max(double, double)}.
       *
       * @param array a <i>nonempty</i> array of {@code double} values
       * @return the value present in {@code array} that is greater than or equal to every other value
       *     in the array
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInts.java

            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 int} values
       * @return the value present in {@code array} that is greater than or equal to every other value
       *     in the array according to {@link #compare}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/UnsignedInts.java

            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 int} values
       * @return the value present in {@code array} that is greater than or equal to every other value
       *     in the array according to {@link #compare}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

          if (array[i] < min) {
            min = array[i];
          }
        }
        return min;
      }
    
      /**
       * Returns the greatest value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code long} values
       * @return the value present in {@code array} that is greater than or equal to every other value
       *     in the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top