- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 138 for asMap (0.03 sec)
-
guava-tests/test/com/google/common/cache/LocalCacheTest.java
// add a non-serializable entry one.getUnchecked(new Object()); assertThat(one.size()).isEqualTo(1); assertThat(one.asMap().isEmpty()).isFalse(); LocalLoadingCache<Object, Object> two = SerializableTester.reserialize(one); assertThat(two.size()).isEqualTo(0); assertThat(two.asMap().isEmpty()).isTrue(); LocalCache<Object, Object> localCacheOne = one.localCache;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
builder.build(CacheLoader.from(Suppliers.ofInstance(value))); assertThat(cache.getUnchecked(key)).isSameInstanceAs(value); assertThat(cache.size()).isEqualTo(0); assertThat(cache.asMap().containsKey(key)).isFalse(); } public void testCacheBuilderFrom_string() { CacheBuilder<?, ?> fromString = CacheBuilder.from( "initialCapacity=10,maximumSize=20,concurrencyLevel=30,"
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 20.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
throw new UnsupportedOperationException(); } @Override public CacheStats stats() { throw new UnsupportedOperationException(); } @Override public ConcurrentMap<K, V> asMap() { throw new UnsupportedOperationException(); } /** * Accumulates statistics during the operation of a {@link Cache} for presentation by {@link
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractNetwork.java
() -> String.format(NODE_PAIR_REMOVED_FROM_GRAPH, nodeU, nodeV)); } private static <N, E> Map<E, EndpointPair<N>> edgeIncidentNodesMap(Network<N, E> network) { return Maps.asMap(network.edges(), network::incidentNodes); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
MapFeature.REJECTS_DUPLICATES_AT_CREATION, CollectionFeature.KNOWN_ORDER, CollectionFeature.ALLOWS_NULL_QUERIES) .named("ImmutableMap.asMultimap.asMap") .createTestSuite()); suite.addTest( CollectionTestSuiteBuilder.using(new ImmutableMapUnhashableValuesGenerator()) .withFeatures( CollectionSize.ANY,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
* {@code ConcurrentMap} documentation. They will not function correctly and it is impossible for * Guava to fix them until Guava is ready to <i>require</i> Java 8 for all users. */ ConcurrentMap<K, V> asMap(); /** * Performs any pending maintenance operations needed by the cache. Exactly which activities are * performed -- if any -- is implementation-dependent. */ void cleanUp();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
// add a non-serializable entry one.getUnchecked(new Object()); assertThat(one.size()).isEqualTo(1); assertThat(one.asMap().isEmpty()).isFalse(); LocalLoadingCache<Object, Object> two = SerializableTester.reserialize(one); assertThat(two.size()).isEqualTo(0); assertThat(two.asMap().isEmpty()).isTrue(); LocalCache<Object, Object> localCacheOne = one.localCache;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 115.9K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0)