Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 1,369 for greatest (0.06 seconds)

  1. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Comparators.java

      /**
       * Returns a {@code Collector} that returns the {@code k} greatest (relative to the specified
       * {@code Comparator}) input elements, in descending order, as an unmodifiable {@code List}. Ties
       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * {@snippet :
       * Stream.of("foo", "quux", "banana", "elephant")
       *     .collect(greatest(2, comparingInt(String::length)))
       * // returns {"elephant", "banana"}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/DiscreteDomain.java

      /**
       * Returns the unique greatest value of type {@code C} that is less than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #next}.
       *
       * @param value any value of type {@code C}
       * @return the greatest value less than {@code value}, or {@code null} if {@code value} is {@code
       *     minValue()}
       */
      public abstract @Nullable C previous(C value);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Comparators.java

      /**
       * Returns a {@code Collector} that returns the {@code k} greatest (relative to the specified
       * {@code Comparator}) input elements, in descending order, as an unmodifiable {@code List}. Ties
       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * {@snippet :
       * Stream.of("foo", "quux", "banana", "elephant")
       *     .collect(greatest(2, comparingInt(String::length)))
       * // returns {"elephant", "banana"}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
        int dummy = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/DiscreteDomain.java

      /**
       * Returns the unique greatest value of type {@code C} that is less than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #next}.
       *
       * @param value any value of type {@code C}
       * @return the greatest value less than {@code value}, or {@code null} if {@code value} is {@code
       *     minValue()}
       */
      public abstract @Nullable C previous(C value);
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
        int dummy = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/SortedMultiset.java

       * {@code null} if this multiset is empty.
       */
      @Nullable Entry<E> pollFirstEntry();
    
      /**
       * Returns and removes the entry associated with the greatest element in this multiset, or returns
       * {@code null} if this multiset is empty.
       */
      @Nullable Entry<E> pollLastEntry();
    
      /**
       * Returns a {@link NavigableSet} view of the distinct elements in this multiset.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/SortedMultiset.java

       * {@code null} if this multiset is empty.
       */
      @Nullable Entry<E> pollFirstEntry();
    
      /**
       * Returns and removes the entry associated with the greatest element in this multiset, or returns
       * {@code null} if this multiset is empty.
       */
      @Nullable Entry<E> pollLastEntry();
    
      /**
       * Returns a {@link NavigableSet} view of the distinct elements in this multiset.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/math/ToDoubleRounder.java

     * a {@link RoundingMode}.
     */
    @GwtIncompatible
    abstract class ToDoubleRounder<X extends Number & Comparable<X>> {
      /**
       * Returns x rounded to either the greatest double less than or equal to the precise value of x,
       * or the least double greater than or equal to the precise value of x.
       */
      abstract double roundToDoubleArbitrarily(X x);
    
      /** Returns the sign of x: either -1, 0, or 1. */
      abstract int sign(X x);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 5.7K bytes
    - Click Count (0)
Back to Top