Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for seorang (0.56 sec)

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

       * bufferSize ≥ k, then we can ignore any elements greater than this value.
       */
      private @Nullable T threshold;
    
      @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Object[] instead of T[].
      private TopKSelector(Comparator<? super T> comparator, int k) {
        this.comparator = checkNotNull(comparator, "comparator");
        this.k = k;
        checkArgument(k >= 0, "k (%s) must be >= 0", k);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top