Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Combiner (0.34 sec)

  1. 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)
  2. 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)
  3. 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: Tue Feb 11 19:03:19 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

        @RetainedLocalRef List<@Nullable Present<V>> localValues = values;
        if (localValues != null) {
          set(combine(localValues));
        }
      }
    
      @Override
      void releaseResources(ReleaseResourcesReason reason) {
        super.releaseResources(reason);
        this.values = null;
      }
    
      abstract C combine(List<@Nullable Present<V>> values);
    
      /** Used for {@link Futures#allAsList} and {@link Futures#successfulAsList}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MoreCollectors.java

       */
      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
              ToOptionalState::new,
              ToOptionalState::add,
              ToOptionalState::combine,
              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. android/guava-testlib/pom.xml

          <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>
              </execution>
              <execution>
                <id>compile-java9</id>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Mar 19 17:26:38 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. guava-testlib/pom.xml

          <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>
              </execution>
              <execution>
                <id>compile-java9</id>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Mar 19 17:26:38 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. guava/pom.xml

            <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>
              </execution>
              <execution>
                <id>compile-java9</id>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 06 21:05:32 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MoreCollectors.java

       */
      private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL =
          Collector.of(
              ToOptionalState::new,
              ToOptionalState::add,
              ToOptionalState::combine,
              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top