- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for softValues (0.38 sec)
-
android/guava/src/com/google/common/cache/CacheBuilder.java
* expireAfterWrite}, {@link #expireAfterAccess expireAfterAccess}, {@link #weakKeys weakKeys}, * {@link #weakValues weakValues}, or {@link #softValues softValues} are requested. * * <p>If {@link #maximumSize(long) maximumSize} or {@link #maximumWeight(long) maximumWeight} is * requested entries may be evicted on each cache modification. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
.createTestSuite()); suite.addTest( ConcurrentMapTestSuiteBuilder.using( new TestStringCacheGenerator(createCacheBuilder().softValues())) .named("LocalCache with softValues") // values are string literals and won't be GC'd .withFeatures( CollectionSize.ANY, MapFeature.GENERAL_PURPOSE,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThrows(IllegalStateException.class, () -> builder1.weakValues()); assertThrows(IllegalStateException.class, () -> builder1.softValues()); CacheBuilder<Object, Object> builder2 = CacheBuilder.newBuilder().softValues(); assertThrows(IllegalStateException.class, () -> builder2.softValues()); assertThrows(IllegalStateException.class, () -> builder2.weakValues()); } @GwtIncompatible // Duration
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThrows(IllegalStateException.class, () -> builder1.weakValues()); assertThrows(IllegalStateException.class, () -> builder1.softValues()); CacheBuilder<Object, Object> builder2 = CacheBuilder.newBuilder().softValues(); assertThrows(IllegalStateException.class, () -> builder2.softValues()); assertThrows(IllegalStateException.class, () -> builder2.weakValues()); } @GwtIncompatible // Duration
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0)