- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for MultimapBuilder (0.19 sec)
-
android/guava/src/com/google/common/collect/MultimapBuilder.java
* * <pre>{@code * ListMultimap<UserId, ErrorResponse> errorsByUser = * MultimapBuilder.linkedHashKeys().arrayListValues().build(); * SortedSetMultimap<String, Method> methodsForName = * MultimapBuilder.treeKeys().treeSetValues(this::compareMethods).build(); * }</pre> * * <p>{@code MultimapBuilder} instances are immutable. Invoking a configuration method has no effect
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
for (MultimapBuilderWithKeys<?> builderWithKeys : ImmutableList.of( MultimapBuilder.hashKeys(), MultimapBuilder.linkedHashKeys(), MultimapBuilder.treeKeys(), MultimapBuilder.enumKeys(RoundingMode.class))) { for (MultimapBuilder<?, ?> builder : ImmutableList.of( builderWithKeys.arrayListValues(),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 27 09:26:07 GMT 2024 - 5.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
for (MultimapBuilderWithKeys<?> builderWithKeys : ImmutableList.of( MultimapBuilder.hashKeys(), MultimapBuilder.linkedHashKeys(), MultimapBuilder.treeKeys(), MultimapBuilder.enumKeys(RoundingMode.class))) { for (MultimapBuilder<?, ?> builder : ImmutableList.of( builderWithKeys.arrayListValues(),
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 09:26:07 GMT 2024 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashMultimap.java
/** * Creates a new, empty {@code HashMultimap} with the default initial capacities. * * <p>This method will soon be deprecated in favor of {@code * MultimapBuilder.hashKeys().hashSetValues().build()}. */ public static <K extends @Nullable Object, V extends @Nullable Object> HashMultimap<K, V> create() { return new HashMultimap<>(); } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashMultimap.java
/** * Creates a new, empty {@code HashMultimap} with the default initial capacities. * * <p>This method will soon be deprecated in favor of {@code * MultimapBuilder.hashKeys().hashSetValues().build()}. */ public static <K extends @Nullable Object, V extends @Nullable Object> HashMultimap<K, V> create() { return new HashMultimap<>(); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayListMultimap.java
/** * Creates a new, empty {@code ArrayListMultimap} with the default initial capacities. * * <p>This method will soon be deprecated in favor of {@code * MultimapBuilder.hashKeys().arrayListValues().build()}. */ public static <K extends @Nullable Object, V extends @Nullable Object> ArrayListMultimap<K, V> create() { return new ArrayListMultimap<>(); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
return collectingAndThen( flatteningToMultimap( input -> checkNotNull(keyFunction.apply(input)), input -> valuesFunction.apply(input).peek(Preconditions::checkNotNull), MultimapBuilder.linkedHashKeys().arrayListValues()::<K, V>build), ImmutableListMultimap::copyOf); } static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableSetMultimap<K, V>> toImmutableSetMultimap(
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) -
android/guava/src/com/google/common/collect/Multimap.java
* <li>{@link ImmutableSetMultimap} * <li>Configure your own mutable multimap with {@link MultimapBuilder} * <li>{@link LinkedListMultimap} (for one unusual kind of mutable {@code Multimap}) * </ul> * * Guava contains a number of other multimap implementations, such as {@link ArrayListMultimap}. In * new code, we recommend using {@link MultimapBuilder} instead: It provides better control of how * keys and values are stored. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 15.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedSetMultimap.java
* for a given key in sorted order, but it need not expose the <i>keys</i> in sorted order. * Individual {@code SortedSetMultimap} implementations, like those built with {@link * MultimapBuilder#treeKeys()}, may make additional guarantees. */ @Override Map<K, Collection<V>> asMap(); /** * Returns the comparator that orders the multimap values, with {@code null} indicating that
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectCollectors.java
return collectingAndThen( flatteningToMultimap( input -> checkNotNull(keyFunction.apply(input)), input -> valuesFunction.apply(input).peek(Preconditions::checkNotNull), MultimapBuilder.linkedHashKeys().arrayListValues()::<K, V>build), ImmutableListMultimap::copyOf); } static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableSetMultimap<K, V>> toImmutableSetMultimap(
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)