Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for ImmutableMultimap (0.12 sec)

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

        static final Serialization.FieldSetter<? super ImmutableMultimap<?, ?>> MAP_FIELD_SETTER =
            Serialization.getFieldSetter(ImmutableMultimap.class, "map");
        static final Serialization.FieldSetter<? super ImmutableMultimap<?, ?>> SIZE_FIELD_SETTER =
            Serialization.getFieldSetter(ImmutableMultimap.class, "size");
      }
    
      ImmutableMultimap(ImmutableMap<K, ? extends ImmutableCollection<V>> map, int size) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/JoinerTest.java

        assertEquals("", j.join(ImmutableMultimap.of().entries()));
        assertEquals("", j.join(ImmutableMultimap.of().entries().iterator()));
        assertEquals(":", j.join(ImmutableMultimap.of("", "").entries()));
        assertEquals(":", j.join(ImmutableMultimap.of("", "").entries().iterator()));
        assertEquals("1:a;1:b", j.join(ImmutableMultimap.of("1", "a", "1", "b").entries()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ImmutableSortedMap.class, ImmutableSortedMap.of())
              .put(NavigableMap.class, Maps.unmodifiableNavigableMap(Maps.newTreeMap()))
              .put(Multimap.class, ImmutableMultimap.of())
              .put(ImmutableMultimap.class, ImmutableMultimap.of())
              .put(ListMultimap.class, ImmutableListMultimap.of())
              .put(ImmutableListMultimap.class, ImmutableListMultimap.of())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      }
    
      public void testInvertFrom() {
        ImmutableMultimap<Integer, String> empty = ImmutableMultimap.of();
    
        // typical usage example - sad that ArrayListMultimap.create() won't work
        Multimap<String, Integer> multimap =
            Multimaps.invertFrom(empty, ArrayListMultimap.<String, Integer>create());
        assertTrue(multimap.isEmpty());
    
        ImmutableMultimap<Integer, String> single =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableListMultimap.java

       *
       * <p>Because an inverse of a list multimap can contain multiple pairs with the same key and
       * value, this method returns an {@code ImmutableListMultimap} rather than the {@code
       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       *
       * @since 11.0
       */
      @Override
      public ImmutableListMultimap<V, K> inverse() {
        ImmutableListMultimap<V, K> result = inverse;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ImmutableSortedMap.class, ImmutableSortedMap.of())
              .put(NavigableMap.class, Maps.unmodifiableNavigableMap(Maps.newTreeMap()))
              .put(Multimap.class, ImmutableMultimap.of())
              .put(ImmutableMultimap.class, ImmutableMultimap.of())
              .put(ListMultimap.class, ImmutableListMultimap.of())
              .put(ImmutableListMultimap.class, ImmutableListMultimap.of())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertFreshInstance(new TypeToken<ImmutableSortedMap<String, Integer>>() {});
      }
    
      public void testImmutableMultimap() {
        assertFreshInstance(new TypeToken<ImmutableMultimap<String, Integer>>() {});
        assertNotInstantiable(new TypeToken<ImmutableMultimap<EmptyEnum, String>>() {});
      }
    
      public void testImmutableListMultimap() {
        assertFreshInstance(new TypeToken<ImmutableListMultimap<String, Integer>>() {});
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *
       * <p>Because an inverse of a set multimap cannot contain multiple pairs with the same key and
       * value, this method returns an {@code ImmutableSetMultimap} rather than the {@code
       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       */
      @Override
      public ImmutableSetMultimap<V, K> inverse() {
        ImmutableSetMultimap<V, K> result = inverse;
        return (result == null) ? (inverse = invert()) : result;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       *
       * <p>Because an inverse of a list multimap can contain multiple pairs with the same key and
       * value, this method returns an {@code ImmutableListMultimap} rather than the {@code
       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       *
       * @since 11.0
       */
      @Override
      public ImmutableListMultimap<V, K> inverse() {
        ImmutableListMultimap<V, K> result = inverse;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          derivedFeatures.remove(CollectionFeature.SERIALIZABLE);
        }
        return derivedFeatures;
      }
    
      private static final ImmutableMultimap<Feature<?>, Feature<?>> GET_FEATURE_MAP =
          ImmutableMultimap.<Feature<?>, Feature<?>>builder()
              .put(
                  MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                  CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top