Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 118 of 118 for AsMap (0.08 sec)

  1. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

                return getDummyValue(TypeToken.of(interfaceType).method(method).getReturnType());
              }
            };
        for (Entry<Class<?>, Collection<Object>> entry : distinctValues.asMap().entrySet()) {
          generator.addSampleInstances((Class) entry.getKey(), entry.getValue());
        }
        return generator;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        LenientSerializableTester.reserializeAndAssertLenient(multimap.keySet());
        LenientSerializableTester.reserializeAndAssertLenient(multimap.keys());
        SerializableTester.reserializeAndAssert(multimap.asMap());
        Collection<Integer> valuesCopy = SerializableTester.reserialize(multimap.values());
        assertEquals(HashMultiset.create(multimap.values()), HashMultiset.create(valuesCopy));
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Joiner.java

       *       {@code MapJoiner} method that accepts entries as input, and receive output of the form
       *       {@code key1=A&key1=B&key2=C}.
       *   <li>To output a single entry for each key, pass {@code multimap.asMap()} to a {@code
       *       MapJoiner} method that accepts a map as input, and receive output of the form {@code
       *       key1=[A, B]&key2=C}.
       * </ul>
       *
       * @since 2.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Joiner.java

       *       {@code MapJoiner} method that accepts entries as input, and receive output of the form
       *       {@code key1=A&key1=B&key2=C}.
       *   <li>To output a single entry for each key, pass {@code multimap.asMap()} to a {@code
       *       MapJoiner} method that accepts a map as input, and receive output of the form {@code
       *       key1=[A, B]&key2=C}.
       * </ul>
       *
       * @since 2.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        public void invalidateAll() {
          localCache.clear();
        }
    
        @Override
        public long size() {
          return localCache.size();
        }
    
        @Override
        public ConcurrentMap<K, V> asMap() {
          return localCache;
        }
      }
    
      /**
       * LocalLoadingCache is a wrapper around LocalCache for a cache with loading.
       *
       * @param <K> the base key type
       * @param <V> the base value type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

                return getDummyValue(TypeToken.of(interfaceType).method(method).getReturnType());
              }
            };
        for (Entry<Class<?>, Collection<Object>> entry : distinctValues.asMap().entrySet()) {
          generator.addSampleInstances((Class) entry.getKey(), entry.getValue());
        }
        return generator;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/MediaType.java

      public ImmutableListMultimap<String, String> parameters() {
        return parameters;
      }
    
      private Map<String, ImmutableMultiset<String>> parametersAsMap() {
        return Maps.transformValues(parameters.asMap(), ImmutableMultiset::copyOf);
      }
    
      /**
       * Returns an optional charset for the value of the charset parameter if it is specified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/MediaType.java

      public ImmutableListMultimap<String, String> parameters() {
        return parameters;
      }
    
      private Map<String, ImmutableMultiset<String>> parametersAsMap() {
        return Maps.transformValues(parameters.asMap(), ImmutableMultiset::copyOf);
      }
    
      /**
       * Returns an optional charset for the value of the charset parameter if it is specified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
Back to top