Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ImmutableListMultimap (0.7 sec)

  1. 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);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  2. 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"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K 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"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  4. 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);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. 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. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  6. 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. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K 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);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  8. 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"),
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  9. android/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"),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  10. 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(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
Back to top