- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 74 for combine (0.17 sec)
-
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) -
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) -
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) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
super.orderEntriesByValue(valueComparator); return this; } @Override @CanIgnoreReturnValue Builder<K, V> combine(ImmutableMap.Builder<K, V> builder) { super.combine(builder); return this; } /** * Returns a newly-created immutable bimap. The iteration order of the returned bimap is the
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 22.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
return this; } @CanIgnoreReturnValue Builder<E> combine(Builder<E> other) { requireNonNull(impl); requireNonNull(other.impl); /* * For discussion of requireNonNull, see the comment on the field. * * (And I don't believe there's any situation in which we call x.combine(y) when x is a plain
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 35.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
public void testToImmutableSortedMap_java7_combine() { ImmutableSortedMap.Builder<String, Integer> zis = ImmutableSortedMap.<String, Integer>naturalOrder().put("one", 1).put("four", 4); ImmutableSortedMap.Builder<String, Integer> zat = ImmutableSortedMap.<String, Integer>naturalOrder().put("two", 2).put("three", 3); ImmutableSortedMap<String, Integer> sortedMap = zis.combine(zat).build();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 27K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testToImmutableMap_java7_combine() { ImmutableMap.Builder<String, Integer> zis = ImmutableMap.<String, Integer>builder().put("one", 1); ImmutableMap.Builder<String, Integer> zat = ImmutableMap.<String, Integer>builder().put("two", 2).put("three", 3); assertMapEquals(zis.combine(zat).build(), "one", 1, "two", 2, "three", 3); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 14:39:16 GMT 2024 - 37.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 17.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
public void testToImmutableSetMultimap_java7_combine() { ImmutableSetMultimap.Builder<String, Integer> zis = ImmutableSetMultimap.<String, Integer>builder().put("a", 1).put("b", 2); ImmutableSetMultimap.Builder<String, Integer> zat = ImmutableSetMultimap.<String, Integer>builder().put("a", 3).put("c", 4); ImmutableSetMultimap<String, Integer> multimap = zis.combine(zat).build();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 23.4K bytes - Viewed (0) -
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}. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 59.6K bytes - Viewed (0)