- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 80 for SetMultimap (0.06 seconds)
-
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
suite.addTest( SortedSetMultimapTestSuiteBuilder.using( new TestStringSetMultimapGenerator() { @Override protected SetMultimap<String, String> create(Entry<String, String>[] entries) { SetMultimap<String, String> multimap = TreeMultimap.create( Ordering.natural().nullsFirst(), Ordering.natural().nullsFirst());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FilteredKeyMultimap.java
} @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types Collection<V> unmodifiableEmptyCollection() { if (unfiltered instanceof SetMultimap) { return emptySet(); } else { return emptyList(); } } @Override public void clear() { keySet().clear(); } @Override Set<K> createKeySet() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
} @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types Collection<V> unmodifiableEmptyCollection() { if (unfiltered instanceof SetMultimap) { return emptySet(); } else { return emptyList(); } } @Override public void clear() { keySet().clear(); } @Override Set<K> createKeySet() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
Collection<V> unmodifiableEmptyCollection() { // These return false, rather than throwing a UOE, on remove calls. return (unfiltered instanceof SetMultimap) ? emptySet() : emptyList(); } @Override public void clear() { entries().clear(); } @Override public Collection<V> get(@ParametricNullness K key) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 12.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multimap.java
* ListMultimap} and {@link SetMultimap}. These take their names from the fact that the collections * they return from {@code get} behave like (and, of course, implement) {@link List} and {@link * Set}, respectively. * * <p>For example, the "presidents" code snippet above used a {@code ListMultimap}; if it had used a * {@code SetMultimap} instead, two presidents would have vanished, and last names might or mightCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
Collection<V> unmodifiableEmptyCollection() { // These return false, rather than throwing a UOE, on remove calls. return (unfiltered instanceof SetMultimap) ? emptySet() : emptyList(); } @Override public void clear() { entries().clear(); } @Override public Collection<V> get(@ParametricNullness K key) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 12.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
import java.util.stream.Collector; import java.util.stream.Stream; import org.jspecify.annotations.Nullable; /** * A {@link SetMultimap} whose contents will never change, with many other important properties * detailed at {@link ImmutableCollection}. * * <p><b>Warning:</b> As in all {@link SetMultimap}s, do not modify either a key <i>or a value</i> * of a {@code ImmutableSetMultimap} in a way that affects its {@link Object#equals} behavior.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ListMultimap.java
* in the same order. If the value orderings disagree, the multimaps will not be considered equal. * * <p>An empty {@code ListMultimap} is equal to any other empty {@code Multimap}, including an * empty {@code SetMultimap}. */ @Override boolean equals(@Nullable Object obj);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ListMultimap.java
* in the same order. If the value orderings disagree, the multimaps will not be considered equal. * * <p>An empty {@code ListMultimap} is equal to any other empty {@code Multimap}, including an * empty {@code SetMultimap}. */ @Override boolean equals(@Nullable Object obj);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java
@MapFeature.Require(SUPPORTS_REMOVE) /* * We are comparing Multimaps of the same type, so as long as they have value collections that * implement equals() (as with ListMultimap or SetMultimap, as opposed to a QueueMultimap or * something), our equality check is value-based. */ @SuppressWarnings("UndefinedEquals") public void testRetainAllPropagatesToMultimap() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 5.4K bytes - Click Count (0)