Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for combine (0.24 sec)

  1. android/guava/src/com/google/common/collect/CollectCollectors.java

              ImmutableList.Builder::add,
              ImmutableList.Builder::combine,
              ImmutableList.Builder::build);
    
      private static final Collector<Object, ?, ImmutableSet<Object>> TO_IMMUTABLE_SET =
          Collector.of(
              ImmutableSet::builder,
              ImmutableSet.Builder::add,
              ImmutableSet.Builder::combine,
              ImmutableSet.Builder::build);
    
      @GwtIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CollectCollectors.java

              ImmutableList.Builder::add,
              ImmutableList.Builder::combine,
              ImmutableList.Builder::build);
    
      private static final Collector<Object, ?, ImmutableSet<Object>> TO_IMMUTABLE_SET =
          Collector.of(
              ImmutableSet::builder,
              ImmutableSet.Builder::add,
              ImmutableSet.Builder::combine,
              ImmutableSet.Builder::build);
    
      @GwtIncompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

        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}. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        String SELF_COMBINATION_MODE_ATTRIBUTE = "combine.self";
    
        String SELF_COMBINATION_OVERRIDE = "override";
    
        String SELF_COMBINATION_MERGE = "merge";
    
        String SELF_COMBINATION_REMOVE = "remove";
    
        /**
         * In case of complex XML structures, combining can be done based on id.
         */
        String ID_COMBINATION_MODE_ATTRIBUTE = "combine.id";
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Nov 27 23:11:34 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TableCollectors.java

            (Supplier<ImmutableTable.Builder<R, C, V>>) ImmutableTable.Builder::new,
            (builder, t) ->
                builder.put(rowFunction.apply(t), columnFunction.apply(t), valueFunction.apply(t)),
            ImmutableTable.Builder::combine,
            ImmutableTable.Builder::build);
      }
    
      static <T extends @Nullable Object, R, C, V>
          Collector<T, ?, ImmutableTable<R, C, V>> toImmutableTable(
              Function<? super T, ? extends R> rowFunction,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. 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}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. 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
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

          super.orderEntriesByValue(valueComparator);
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> other) {
          super.combine(other);
          return this;
        }
    
        @Override
        public ImmutableBiMap<K, V> build() {
          return buildOrThrow();
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

      public void testToImmutableBiMap_java7_combine() {
        ImmutableBiMap.Builder<String, Integer> zis =
            ImmutableBiMap.<String, Integer>builder().put("one", 1);
        ImmutableBiMap.Builder<String, Integer> zat =
            ImmutableBiMap.<String, Integer>builder().put("two", 2).put("three", 3);
        ImmutableBiMap<String, Integer> biMap = zis.combine(zat).build();
        assertMapEquals(biMap, "one", 1, "two", 2, "three", 3);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSetMultimap.java

            putAll(entry.getKey(), entry.getValue());
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        Builder<K, V> combine(ImmutableMultimap.Builder<K, V> other) {
          super.combine(other);
          return this;
        }
    
        /**
         * {@inheritDoc}
         *
         * @since 8.0
         */
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top