Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 676 for greatest (0.24 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

                new long[] {LEAST, LEAST},
                new long[] {LEAST, 1L},
                new long[] {1L},
                new long[] {1L, LEAST},
                new long[] {GREATEST, GREATEST - 1L},
                new long[] {GREATEST, GREATEST},
                new long[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<long[]> comparator = UnsignedLongs.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

                new byte[] {LEAST, (byte) 1},
                new byte[] {(byte) 1},
                new byte[] {(byte) 1, LEAST},
                new byte[] {GREATEST, GREATEST - (byte) 1},
                new byte[] {GREATEST, GREATEST},
                new byte[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<byte[]> comparator = SignedBytes.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

                new byte[] {LEAST, (byte) 1},
                new byte[] {(byte) 1},
                new byte[] {(byte) 1, LEAST},
                new byte[] {GREATEST, GREATEST - (byte) 1},
                new byte[] {GREATEST, GREATEST},
                new byte[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<byte[]> comparator = SignedBytes.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/IntsTest.java

                new int[] {LEAST, (int) 1},
                new int[] {(int) 1},
                new int[] {(int) 1, LEAST},
                new int[] {GREATEST, GREATEST - (int) 1},
                new int[] {GREATEST, GREATEST},
                new int[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<int[]> comparator = Ints.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/IntsTest.java

                new int[] {LEAST, (int) 1},
                new int[] {(int) 1},
                new int[] {(int) 1, LEAST},
                new int[] {GREATEST, GREATEST - (int) 1},
                new int[] {GREATEST, GREATEST},
                new int[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<int[]> comparator = Ints.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/CharsTest.java

                new char[] {LEAST, (char) 1},
                new char[] {(char) 1},
                new char[] {(char) 1, LEAST},
                new char[] {GREATEST, GREATEST - (char) 1},
                new char[] {GREATEST, GREATEST},
                new char[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<char[]> comparator = Chars.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ShortsTest.java

                new short[] {LEAST, (short) 1},
                new short[] {(short) 1},
                new short[] {(short) 1, LEAST},
                new short[] {GREATEST, GREATEST - (short) 1},
                new short[] {GREATEST, GREATEST},
                new short[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<short[]> comparator = Shorts.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

                new double[] {LEAST, 1.0},
                new double[] {1.0},
                new double[] {1.0, LEAST},
                new double[] {GREATEST, Double.MAX_VALUE},
                new double[] {GREATEST, GREATEST},
                new double[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<double[]> comparator = Doubles.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoublesTest.java

                new double[] {LEAST, 1.0},
                new double[] {1.0},
                new double[] {1.0, LEAST},
                new double[] {GREATEST, Double.MAX_VALUE},
                new double[] {GREATEST, GREATEST},
                new double[] {GREATEST, GREATEST, GREATEST});
    
        Comparator<double[]> comparator = Doubles.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top