Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 199 for ImmutableMap (0.15 sec)

  1. android/guava/src/com/google/common/cache/Cache.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.util.concurrent.ExecutionError;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

    import com.google.common.base.Function;
    import com.google.common.cache.CacheBuilderFactory.DurationSpec;
    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          return getUnchecked(key);
        }
    
        @Override
        public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
          Map<K, V> map = new HashMap<K, V>();
          for (K key : keys) {
            map.put(key, localCache.getOrLoad(key));
          }
          return ImmutableMap.copyOf(map);
        }
    
        @Override
        public void refresh(K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       * multimap. Keys and values appear in the same order as in this multimap.
       */
      @Override
      @SuppressWarnings("unchecked") // a widening cast
      public ImmutableMap<K, Collection<V>> asMap() {
        return (ImmutableMap) map;
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        throw new AssertionError("should never be called");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

    import com.google.common.base.Function;
    import com.google.common.cache.CacheBuilderFactory.DurationSpec;
    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.collect.ImmutableCollection;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableListMultimap;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.collect.ImmutableMultiset;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableSetMultimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/ClassPath.java

    import com.google.common.base.CharMatcher;
    import com.google.common.base.Splitter;
    import com.google.common.collect.FluentIterable;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Maps;
    import com.google.common.io.ByteSource;
    import com.google.common.io.CharSource;
    import com.google.common.io.Resources;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          entry.setValueReference(valueRef);
        }
        segment.table.set(0, entry);
        segment.count = originalCount;
        ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map);
        assertEquals(originalCount, originalMap.size());
        assertEquals(originalMap, map);
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          entry.setValueReference(valueRef);
        }
        segment.table.set(0, entry);
        segment.count = originalCount;
        ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map);
        assertEquals(originalCount, originalMap.size());
        assertEquals(originalMap, map);
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/HashBiMapTest.java

                .createTestSuite());
        suite.addTestSuite(HashBiMapTest.class);
        return suite;
      }
    
      public void testMapConstructor() {
        /* Test with non-empty Map. */
        Map<String, String> map =
            ImmutableMap.of(
                "canada", "dollar",
                "chile", "peso",
                "switzerland", "franc");
        HashBiMap<String, String> bimap = HashBiMap.create(map);
        assertEquals("dollar", bimap.get("canada"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top