- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for Multimaps (0.31 sec)
-
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
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ListMultimap.java
* Multimaps#asMap(ListMultimap)} instead. */ @Override Map<K, Collection<V>> asMap(); /** * Compares the specified object to this multimap for equality. * * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values * in the same order. If the value orderings disagree, the multimaps will not be considered equal. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 3.5K bytes - Viewed (0) -
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);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.6K 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);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.6K 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
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableMultimapAsMapImplementsMapTest.java
@Override protected Map<String, Collection<Integer>> makeEmptyMap() { return Multimaps.unmodifiableMultimap(LinkedHashMultimap.<String, Integer>create()).asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { Multimap<String, Integer> delegate = LinkedHashMultimap.create(); populate(delegate); return Multimaps.unmodifiableMultimap(delegate).asMap(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SetMultimap.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@code Multimap} that cannot hold duplicate key-value pairs. Adding a key-value pair that's * already in the multimap has no effect. See the {@link Multimap} documentation for information * common to all multimaps. * * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@link
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 24 17:47:51 GMT 2022 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMultimapTest.java
ListMultimap<String, Integer> multimap = Multimaps.synchronizedListMultimap(ArrayListMultimap.<String, Integer>create()); multimap.putAll("foo", Arrays.asList(3, -1, 2, 4, 1)); multimap.putAll("bar", Arrays.asList(1, 2, 3, 1)); assertThat(multimap.removeAll("foo")).containsExactly(3, -1, 2, 4, 1).inOrder(); assertFalse(multimap.containsKey("foo")); assertThat(multimap.replaceValues("bar", Arrays.asList(6, 5)))
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableMultimapAsMapImplementsMapTest.java
@Override protected Map<String, Collection<Integer>> makeEmptyMap() { return Multimaps.unmodifiableMultimap(LinkedHashMultimap.<String, Integer>create()).asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { Multimap<String, Integer> delegate = LinkedHashMultimap.create(); populate(delegate); return Multimaps.unmodifiableMultimap(delegate).asMap(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.Multimap; import com.google.common.collect.testing.SampleElements; import com.google.common.collect.testing.TestContainerGenerator; import java.util.Collection; import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates multimaps, containing sample elements, to be tested. * * @author Louis Wasserman */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.5K bytes - Viewed (0)