Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for asMap (0.04 sec)

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

          return asMap(backingSet().subSet(fromKey, toKey), function);
        }
    
        @Override
        public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
          return asMap(backingSet().headSet(toKey), function);
        }
    
        @Override
        public SortedMap<K, V> tailMap(@ParametricNullness K fromKey) {
          return asMap(backingSet().tailSet(fromKey), function);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Maps.java

          return asMap(backingSet().subSet(fromKey, toKey), function);
        }
    
        @Override
        public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
          return asMap(backingSet().headSet(toKey), function);
        }
    
        @Override
        public SortedMap<K, V> tailMap(@ParametricNullness K fromKey) {
          return asMap(backingSet().tailSet(fromKey), function);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // add a non-serializable entry
        one.getUnchecked(new Object());
        assertEquals(1, one.size());
        assertFalse(one.asMap().isEmpty());
        LocalLoadingCache<Object, Object> two = SerializableTester.reserialize(one);
        assertEquals(0, two.size());
        assertTrue(two.asMap().isEmpty());
    
        LocalCache<Object, Object> localCacheOne = one.localCache;
        LocalCache<Object, Object> localCacheTwo = two.localCache;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // add a non-serializable entry
        one.getUnchecked(new Object());
        assertEquals(1, one.size());
        assertFalse(one.asMap().isEmpty());
        LocalLoadingCache<Object, Object> two = SerializableTester.reserialize(one);
        assertEquals(0, two.size());
        assertTrue(two.asMap().isEmpty());
    
        LocalCache<Object, Object> localCacheOne = one.localCache;
        LocalCache<Object, Object> localCacheTwo = two.localCache;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

          localCache.clear();
        }
    
        @Override
        public long size() {
          return localCache.longSize();
        }
    
        @Override
        public ConcurrentMap<K, V> asMap() {
          return localCache;
        }
    
        @Override
        public CacheStats stats() {
          SimpleStatsCounter aggregator = new SimpleStatsCounter();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top