Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for asIterable (0.1 sec)

  1. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
          accumulator.addAll(values.asIterable());
          for (double value : values.asIterable()) {
            accumulatorByAddAllStats.addAll(Stats.of(value));
          }
          double mean = accumulator.mean();
          double meanByAddAllStats = accumulatorByAddAllStats.mean();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
          accumulator.addAll(values.asIterable());
          for (double value : values.asIterable()) {
            accumulatorByAddAllStats.addAll(Stats.of(value));
          }
          double mean = accumulator.mean();
          double meanByAddAllStats = accumulatorByAddAllStats.mean();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/StatsTest.java

        // finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          double populationVariance = Stats.of(values.asIterable()).populationVariance();
          if (values.hasAnyNonFinite()) {
            assertWithMessage("population variance of " + values).that(populationVariance).isNaN();
          } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

       * returns a {@link FluentIterable} of elements of an anonymous type whose supertypes are the <a
       * href="https://docs.oracle.com/javase/specs/jls/se7/html/jls-4.html#jls-4.9">intersection</a> of
       * the supertypes of {@code A} and the supertypes of {@code B}.
       */
      public void testConcatIntersectionType() {
        Iterable<A> aIterable = ImmutableList.of();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top