Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,137 for greater (0.07 sec)

  1. 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"}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          assertTrue(t.equals(t));
    
          for (int j = i + 1; j < valuesInExpectedOrder.size(); j++) {
            T greater = valuesInExpectedOrder.get(j);
            assertTrue(greater + ".compareTo(" + t + ')', greater.compareTo(t) > 0);
            assertFalse(greater.equals(t));
          }
        }
      }
    
      /**
       * Returns a collection that simulates concurrent modification by having its size method return
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * using the latest values obtained from {@link IteratorTester#newTargetIterator()}.
     *
     * <p>The value you pass to the parameter {@code steps} should be greater than the length of your
     * iterator, so that this class can check that your iterator behaves correctly when it is exhausted.
     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/PairedStatsAccumulator.java

       */
      public double populationCovariance() {
        checkState(count() != 0);
        return sumOfProductsOfDeltas / count();
      }
    
      /**
       * Returns the sample covariance of the values. The count must be greater than one.
       *
       * <p>This is not guaranteed to return zero when the dataset consists of the same pair of values
       * multiple times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/PairedStats.java

       */
      public double populationCovariance() {
        checkState(count() != 0);
        return sumOfProductsOfDeltas / count();
      }
    
      /**
       * Returns the sample covariance of the values. The count must be greater than one.
       *
       * <p>This is not guaranteed to return zero when the dataset consists of the same pair of values
       * multiple times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

         */
        public FacetResponse getFacetResponse() {
            return facetResponse;
        }
    
        /**
         * Creates a new SearchResultBuilder for constructing SearchResult instances.
         *
         * @return A new SearchResultBuilder instance
         */
        public static SearchResultBuilder create() {
            return new SearchResultBuilder();
        }
    
        @Override
        public String toString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkPositionIndex(2, 1));
        assertThat(expected).hasMessageThat().isEqualTo("index (2) must not be greater than size (1)");
      }
    
      public void testCheckPositionIndex_withDesc_negative() {
        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkPositionIndex(-1, 1, "foo"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/PreconditionsTest.java

        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkPositionIndex(2, 1));
        assertThat(expected).hasMessageThat().isEqualTo("index (2) must not be greater than size (1)");
      }
    
      public void testCheckPositionIndex_withDesc_negative() {
        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkPositionIndex(-1, 1, "foo"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

       * greater than or equal to that.
       */
      private static int partition(double[] array, int from, int to) {
        // Select a pivot, and move it to the start of the slice i.e. to index from.
        movePivotToStartOfSlice(array, from, to);
        double pivot = array[from];
    
        // Move all elements with indexes in (from, to] which are greater than the pivot to the end of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ComparisonChain.java

              return (result < 0) ? LESS : (result > 0) ? GREATER : ACTIVE;
            }
    
            @Override
            public int result() {
              return 0;
            }
          };
    
      private static final ComparisonChain LESS = new InactiveComparisonChain(-1);
    
      private static final ComparisonChain GREATER = new InactiveComparisonChain(1);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top