Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for SetMultimap (0.04 sec)

  1. android/guava/src/com/google/common/collect/SortedSetMultimap.java

    import java.util.Comparator;
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@code SetMultimap} whose set of values for a given key are kept sorted; that is, they comprise
     * a {@link SortedSet}. It cannot hold duplicate key-value pairs; adding a key-value pair that's
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

              K extends @Nullable Object, V extends @Nullable Object>
          extends UnmodifiableMultimap<K, V> implements SetMultimap<K, V> {
        UnmodifiableSetMultimap(SetMultimap<K, V> delegate) {
          super(delegate);
        }
    
        @Override
        public SetMultimap<K, V> delegate() {
          return (SetMultimap<K, V>) super.delegate();
        }
    
        @Override
        public Set<V> get(@ParametricNullness K key) {
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multimaps.java

              K extends @Nullable Object, V extends @Nullable Object>
          extends UnmodifiableMultimap<K, V> implements SetMultimap<K, V> {
        UnmodifiableSetMultimap(SetMultimap<K, V> delegate) {
          super(delegate);
        }
    
        @Override
        public SetMultimap<K, V> delegate() {
          return (SetMultimap<K, V>) super.delegate();
        }
    
        @Override
        public Set<V> get(@ParametricNullness K key) {
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

      public void testCopyOf() {
        ImmutableSetMultimap<String, String> setMultimap = ImmutableSetMultimap.of("k1", "v1");
        ImmutableMultimap<String, String> setMultimapCopy = ImmutableMultimap.copyOf(setMultimap);
        assertSame(
            "copyOf(ImmutableSetMultimap) should not create a new instance",
            setMultimap,
            setMultimapCopy);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MultimapBuilder.java

       *
       * @since 16.0
       */
      public abstract static class SetMultimapBuilder<
              K0 extends @Nullable Object, V0 extends @Nullable Object>
          extends MultimapBuilder<K0, V0> {
        SetMultimapBuilder() {}
    
        @Override
        public abstract <K extends K0, V extends V0> SetMultimap<K, V> build();
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MultimapBuilder.java

       *
       * @since 16.0
       */
      public abstract static class SetMultimapBuilder<
              K0 extends @Nullable Object, V0 extends @Nullable Object>
          extends MultimapBuilder<K0, V0> {
        SetMultimapBuilder() {}
    
        @Override
        public abstract <K extends K0, V extends V0> SetMultimap<K, V> build();
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

        ListMultimap<String, Integer> unusedA = MultimapBuilder.hashKeys().arrayListValues().build();
        SortedSetMultimap<String, Integer> unusedB =
            MultimapBuilder.linkedHashKeys().treeSetValues().build();
        SetMultimap<String, Integer> unusedC =
            MultimapBuilder.treeKeys(String.CASE_INSENSITIVE_ORDER).hashSetValues().build();
      }
    
      public void testGenerics_gwtCompatible() {
        ListMultimap<String, Integer> unusedA =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import com.google.common.collect.Ordering;
    import com.google.common.collect.PeekingIterator;
    import com.google.common.collect.Range;
    import com.google.common.collect.RowSortedTable;
    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.Sets;
    import com.google.common.collect.SortedMapDifference;
    import com.google.common.collect.SortedMultiset;
    import com.google.common.collect.SortedSetMultimap;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top