- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 140 for multimaps (0.19 sec)
-
android/guava/src/com/google/common/collect/Multimaps.java
Multimap<K, V> synchronizedMultimap(Multimap<K, V> multimap) { return Synchronized.multimap(multimap, null); } /** * Returns an unmodifiable view of the specified multimap. Query operations on the returned * multimap "read through" to the specified multimap, and attempts to modify the returned * multimap, either directly or through the multimap's views, result in an {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 86.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
multimap.put("bar", 5); multimap.put("bar", -1); multimap.put(nullKey, nullValue); multimap.put("foo", nullValue); multimap.put(nullKey, 5); multimap.put("foo", 2); if (permitsDuplicates) { assertEquals(9, multimap.size()); } else { assertEquals(8, multimap.size()); } Multimap<@Nullable String, @Nullable Integer> unmodifiable;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
@Override Multimap<String, String> transform(Multimap<String, String> multimap) { return Multimaps.transformEntries(multimap, ENTRY_TRANSFORMER); } }) .named("Multimaps.transformEntries[Multimap]") .withFeatures( CollectionSize.ANY, MapFeature.SUPPORTS_REMOVE,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
@Override Multimap<String, String> transform(Multimap<String, String> multimap) { return Multimaps.transformEntries(multimap, ENTRY_TRANSFORMER); } }) .named("Multimaps.transformEntries[Multimap]") .withFeatures( CollectionSize.ANY, MapFeature.SUPPORTS_REMOVE,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
import static com.google.common.collect.Multimaps.filterKeys; import static com.google.common.collect.Multimaps.filterValues; import static java.util.Arrays.asList; import com.google.common.annotations.GwtIncompatible; import com.google.common.base.Predicate; import java.util.Map.Entry; import junit.framework.TestCase; /** * Unit tests for {@link Multimaps} filtering methods. * * @author Jared Levy */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java
return Multimaps.transformValues( ArrayListMultimap.<String, Integer>create(), Functions.<Integer>identity()) .asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { ListMultimap<String, Integer> delegate = ArrayListMultimap.create(); populate(delegate);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
import static com.google.common.collect.Multimaps.filterKeys; import static com.google.common.collect.Multimaps.filterValues; import static java.util.Arrays.asList; import com.google.common.annotations.GwtIncompatible; import com.google.common.base.Predicate; import java.util.Map.Entry; import junit.framework.TestCase; /** * Unit tests for {@link Multimaps} filtering methods. * * @author Jared Levy */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
* * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link * Multimap#asMap()} will iterate through the keys in sorted order. * * <p>For all multimaps generated by the resulting builder, the {@link Multimap#keySet()} can be * safely cast to a {@link java.util.SortedSet}, and the {@link Multimap#asMap()} can safely be * cast to a {@link java.util.SortedMap}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.MapInterfaceTest; import java.util.Collection; import java.util.Map; /** * Test {@link Multimap#asMap()} for a {@link Multimaps#forMap} multimap with {@link * MapInterfaceTest}. * * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
* * @throws NullPointerException if any key or value in {@code multimap} is null */ public static <K, V> ImmutableListMultimap<K, V> copyOf( Multimap<? extends K, ? extends V> multimap) { if (multimap.isEmpty()) { return of(); } // TODO(lowasser): copy ImmutableSetMultimap by using asList() on the sets if (multimap instanceof ImmutableListMultimap) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 20:20:32 UTC 2024 - 19K bytes - Viewed (0)