- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for CollectCollectors (0.18 sec)
-
android/guava/src/com/google/common/collect/CollectCollectors.java
@IgnoreJRERequirement // used only from APIs with Java 8 types in them // (not used publicly by guava-android as of this writing, but we include it in the jar as a test) final class CollectCollectors { private static final Collector<Object, ?, ImmutableList<Object>> TO_IMMUTABLE_LIST = Collector.of( ImmutableList::builder, ImmutableList.Builder::add,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:21:40 UTC 2024 - 17.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
import org.checkerframework.checker.nullness.qual.Nullable; /** Collectors utilities for {@code common.collect} internals. */ @GwtCompatible @ElementTypesAreNonnullByDefault final class CollectCollectors { private static final Collector<Object, ?, ImmutableList<Object>> TO_IMMUTABLE_LIST = Collector.of( ImmutableList::builder, ImmutableList.Builder::add,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:21:40 UTC 2024 - 16.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
* encounter order. * * @since 21.0 */ public static <E> Collector<E, ?, ImmutableMultiset<E>> toImmutableMultiset() { return CollectCollectors.toImmutableMultiset(Function.identity(), e -> 1); } /** * Returns a {@code Collector} that accumulates elements into an {@code ImmutableMultiset} whose
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 20.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
public abstract class ImmutableSet<E> extends ImmutableCollection<E> implements Set<E> { ImmutableSet() {} public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() { return CollectCollectors.toImmutableSet(); } // Casting to any type is safe because the set will never hold any elements. @SuppressWarnings({"unchecked"}) public static <E> ImmutableSet<E> of() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 8.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap( Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction) { return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction); } // Casting to any type is safe because the set will never hold any elements. @SuppressWarnings("unchecked") public static <K, V> ImmutableBiMap<K, V> of() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
Collector<T, ?, ImmutableListMultimap<K, V>> toImmutableListMultimap( Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction) { return CollectCollectors.toImmutableListMultimap(keyFunction, valueFunction); } /** * Returns a {@code Collector} accumulating entries into an {@code ImmutableListMultimap}. Each
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultiset.java
@IgnoreJRERequirement // Users will use this only if they're already using streams. public static <E> Collector<E, ?, ImmutableMultiset<E>> toImmutableMultiset() { return CollectCollectors.toImmutableMultiset(Function.identity(), e -> 1); } /** * Returns a {@code Collector} that accumulates elements into an {@code ImmutableMultiset} whose
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 22.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
Collector<T, ?, ImmutableSetMultimap<K, V>> toImmutableSetMultimap( Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction) { return CollectCollectors.toImmutableSetMultimap(keyFunction, valueFunction); } /** * Returns a {@code Collector} accumulating entries into an {@code ImmutableSetMultimap}. Each
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
Collector<T, ?, ImmutableRangeMap<K, V>> toImmutableRangeMap( Function<? super T, Range<K>> keyFunction, Function<? super T, ? extends V> valueFunction) { return CollectCollectors.toImmutableRangeMap(keyFunction, valueFunction); } /** * Returns an empty immutable range map. * * <p><b>Performance note:</b> the instance returned is a singleton. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 04 14:31:50 UTC 2024 - 14.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
Collector<T, ?, ImmutableSetMultimap<K, V>> toImmutableSetMultimap( Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction) { return CollectCollectors.toImmutableSetMultimap(keyFunction, valueFunction); } /** * Returns a {@code Collector} accumulating entries into an {@code ImmutableSetMultimap}. Each
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 23.5K bytes - Viewed (0)