- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 88 for Charles (0.15 sec)
-
guava/src/com/google/common/collect/ForwardingConcurrentMap.java
* their default implementations. When those implementations invoke methods, they invoke methods on * the {@code ForwardingConcurrentMap}. * * @author Charles Fry * @since 2.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class ForwardingConcurrentMap<K, V> extends ForwardingMap<K, V> implements ConcurrentMap<K, V> {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoaderTest.java
import java.util.concurrent.Executor; import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; /** * Unit tests for {@link CacheLoader}. * * @author Charles Fry */ public class CacheLoaderTest extends TestCase { private static class QueuingExecutor implements Executor { private final Deque<Runnable> tasks = Queues.newArrayDeque(); @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
import com.google.common.collect.ImmutableMap; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; /** * Unit test for {@link ForwardingLoadingCache}. * * @author Charles Fry */ public class ForwardingLoadingCacheTest extends TestCase { private LoadingCache<String, Boolean> forward; private LoadingCache<String, Boolean> mock; @SuppressWarnings({"unchecked", "DoNotMock"}) // mock
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* #getUnchecked}. * * @param <K> the type of the cache's keys, which are not permitted to be null * @param <V> the type of the cache's values, which are not permitted to be null * @author Charles Fry * @since 11.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface LoadingCache<K, V> extends Cache<K, V>, Function<K, V> { /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Aug 06 17:12:03 GMT 2022 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/Cache.java
* by multiple concurrent threads. * * @param <K> the type of the cache's keys, which are not permitted to be null * @param <V> the type of the cache's values, which are not permitted to be null * @author Charles Fry * @since 10.0 */ @DoNotMock("Use CacheBuilder.newBuilder().build()") @GwtCompatible @ElementTypesAreNonnullByDefault public interface Cache<K, V> { /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 7.9K bytes - Viewed (1) -
guava-tests/test/com/google/common/cache/CacheManualTest.java
package com.google.common.cache; import static java.util.Arrays.asList; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import junit.framework.TestCase; /** @author Charles Fry */ public class CacheManualTest extends TestCase { public void testGetIfPresent() { Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(); CacheStats stats = cache.stats();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheManualTest.java
package com.google.common.cache; import static java.util.Arrays.asList; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import junit.framework.TestCase; /** @author Charles Fry */ public class CacheManualTest extends TestCase { public void testGetIfPresent() { Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(); CacheStats stats = cache.stats();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheStatsTest.java
* limitations under the License. */ package com.google.common.cache; import junit.framework.TestCase; /** * Unit test for {@link CacheStats}. * * @author Charles Fry */ public class CacheStatsTest extends TestCase { public void testEmpty() { CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0); assertEquals(0, stats.requestCount());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun Jun 30 14:58:49 GMT 2019 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
* by multiple concurrent threads. * * @param <K> the type of the cache's keys, which are not permitted to be null * @param <V> the type of the cache's values, which are not permitted to be null * @author Charles Fry * @since 10.0 */ @DoNotMock("Use CacheBuilder.newBuilder().build()") @GwtCompatible @ElementTypesAreNonnullByDefault public interface Cache<K, V> { /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
* expressions it can be specified even more easily: * * <pre>{@code * CacheLoader<Key, Graph> loader = CacheLoader.from(key -> createExpensiveGraph(key)); * }</pre> * * @author Charles Fry * @since 10.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public abstract class CacheLoader<K, V> { /** Constructor for use by subclasses. */ protected CacheLoader() {} /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 19 20:20:14 GMT 2022 - 9.6K bytes - Viewed (0)