Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for combiner (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      /**
       * A generic {@link Combiner} that lets you use a lambda or method reference to combine two {@link
       * ClosingFuture}s. Use {@link #whenAllSucceed(ClosingFuture, ClosingFuture)} to start this
       * combination.
       *
       * @param <V1> the type returned by the first future
       * @param <V2> the type returned by the second future
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

            Callable<C> combiner, Executor executor) {
          return new CombinedFuture<>(futures, allMustSucceed, executor, combiner);
        }
    
        /**
         * Creates the {@link ListenableFuture} which will return the result of running {@code combiner}
         * when all Futures complete. {@code combiner} will run using {@code executor}.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      /**
       * A generic {@link Combiner} that lets you use a lambda or method reference to combine two {@link
       * ClosingFuture}s. Use {@link #whenAllSucceed(ClosingFuture, ClosingFuture)} to start this
       * combination.
       *
       * @param <V1> the type returned by the first future
       * @param <V2> the type returned by the second future
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/CollectorTester.java

            A accum = collector.supplier().get();
            for (T input : inputs) {
              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              accum = collector.combiner().apply(accum, newAccum);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators right-to-left. */
        MERGE_RIGHT_ASSOCIATIVE {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

            A accum = collector.supplier().get();
            for (T input : inputs) {
              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              accum = collector.combiner().apply(accum, newAccum);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators right-to-left. */
        MERGE_RIGHT_ASSOCIATIVE {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import com.google.common.util.concurrent.ClosingFuture.Combiner;
    import com.google.common.util.concurrent.ClosingFuture.Combiner.AsyncCombiningCallable;
    import com.google.common.util.concurrent.ClosingFuture.Combiner.CombiningCallable;
    import com.google.common.util.concurrent.ClosingFuture.Combiner2.AsyncClosingFunction2;
    import com.google.common.util.concurrent.ClosingFuture.Combiner2.ClosingFunction2;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TableCollectors.java

         * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector,
         * so its return value will get used naturally.
         */
        @SuppressWarnings("CanIgnoreReturnValueSuggester")
        ImmutableTableCollectorState<R, C, V> combine(
            ImmutableTableCollectorState<R, C, V> other, BinaryOperator<V> merger) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TopKSelector.java

       * Anyway, the purpose of this method is to implement a BinaryOperator combiner for a Collector,
       * so its return value will get used naturally.
       */
      @SuppressWarnings("CanIgnoreReturnValueSuggester")
      TopKSelector<T> combine(TopKSelector<T> other) {
        for (int i = 0; i < other.bufferSize; i++) {
          this.offer(uncheckedCastNullableTToT(other.buffer[i]));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. android/guava-testlib/pom.xml

            <artifactId>maven-toolchains-plugin</artifactId>
          </plugin>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <executions>
              <execution>
                <id>default-compile</id>
                <configuration>
                  <compilerArgs combine.children="append" combine.self="append">
                    <arg>-XDignore.symbol.file</arg>
                  </compilerArgs>
                </configuration>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Mar 19 17:26:38 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. guava-testlib/pom.xml

            <artifactId>maven-toolchains-plugin</artifactId>
          </plugin>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <executions>
              <execution>
                <id>default-compile</id>
                <configuration>
                  <compilerArgs combine.children="append" combine.self="append">
                    <arg>-XDignore.symbol.file</arg>
                  </compilerArgs>
                </configuration>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Mar 19 17:26:38 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top