Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for ImmutableListMultimap (0.14 sec)

  1. guava/src/com/google/common/collect/ImmutableListMultimap.java

      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableListMultimap<K, V> of() {
        return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE;
      }
    
      /** Returns an immutable multimap containing a single entry. */
      public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1) {
        ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder();
        builder.put(k1, v1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableListMultimap<K, V> of() {
        return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE;
      }
    
      /** Returns an immutable multimap containing a single entry. */
      public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1) {
        ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder();
        builder.put(k1, v1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertEquals(ImmutableListMultimap.of(1, "one"), ImmutableListMultimap.of("one", 1).inverse());
        assertEquals(
            ImmutableListMultimap.of(1, "one", 2, "two"),
            ImmutableListMultimap.of("one", 1, "two", 2).inverse());
        assertEquals(
            ImmutableListMultimap.of("of", 'o', "of", 'f', "to", 't', "to", 'o').inverse(),
            ImmutableListMultimap.of('o', "of", 'f', "of", 't', "to", 'o', "to"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertEquals(ImmutableListMultimap.of(1, "one"), ImmutableListMultimap.of("one", 1).inverse());
        assertEquals(
            ImmutableListMultimap.of(1, "one", 2, "two"),
            ImmutableListMultimap.of("one", 1, "two", 2).inverse());
        assertEquals(
            ImmutableListMultimap.of("of", 'o', "of", 'f', "to", 't', "to", 'o').inverse(),
            ImmutableListMultimap.of('o', "of", 'f', "of", 't', "to", 'o', "to"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            setMultimap,
            setMultimapCopy);
    
        ImmutableListMultimap<String, String> listMultimap = ImmutableListMultimap.of("k1", "v1");
        ImmutableMultimap<String, String> listMultimapCopy = ImmutableMultimap.copyOf(listMultimap);
        assertSame(
            "copyOf(ImmutableListMultimap) should not create a new instance",
            listMultimap,
            listMultimapCopy);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Multimap.class, ImmutableMultimap.of())
              .put(ImmutableMultimap.class, ImmutableMultimap.of())
              .put(ListMultimap.class, ImmutableListMultimap.of())
              .put(ImmutableListMultimap.class, ImmutableListMultimap.of())
              .put(SetMultimap.class, ImmutableSetMultimap.of())
              .put(ImmutableSetMultimap.class, ImmutableSetMultimap.of())
              .put(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CollectCollectors.java

            ImmutableListMultimap.Builder::combine,
            ImmutableListMultimap.Builder::build);
      }
    
      static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableListMultimap<K, V>> flatteningToImmutableListMultimap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends Stream<? extends V>> valuesFunction) {
        checkNotNull(keyFunction);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       */
      public static <K, V> ImmutableMultimap<K, V> of() {
        return ImmutableListMultimap.of();
      }
    
      /** Returns an immutable multimap containing a single entry. */
      public static <K, V> ImmutableMultimap<K, V> of(K k1, V v1) {
        return ImmutableListMultimap.of(k1, v1);
      }
    
      /** Returns an immutable multimap containing the given entries, in order. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/MediaType.java

    @GwtCompatible
    @Immutable
    @ElementTypesAreNonnullByDefault
    public final class MediaType {
      private static final String CHARSET_ATTRIBUTE = "charset";
      private static final ImmutableListMultimap<String, String> UTF_8_CONSTANT_PARAMETERS =
          ImmutableListMultimap.of(CHARSET_ATTRIBUTE, Ascii.toLowerCase(UTF_8.name()));
    
      /** Matcher for type, subtype and attributes. */
      private static final CharMatcher TOKEN_MATCHER =
          ascii()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/MediaTypeTest.java

      }
    
      private static final ImmutableListMultimap<String, String> PARAMETERS =
          ImmutableListMultimap.of("a", "1", "a", "2", "b", "3");
    
      public void testGetParameters() {
        assertEquals(ImmutableListMultimap.of(), MediaType.parse("text/plain").parameters());
        assertEquals(
            ImmutableListMultimap.of("charset", "utf-8"),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top