Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 238 for Charles (0.08 sec)

  1. guava-tests/test/com/google/common/collect/MapMakerTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import junit.framework.TestCase;
    
    /**
     * @author Charles Fry
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // MapMaker
    public class MapMakerTest extends TestCase {
      @GwtIncompatible // NullPointerTester
      public void testNullParameters() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/TestingWeighers.java

     * the License.
     */
    
    package com.google.common.cache;
    
    /**
     * Utility {@link Weigher} implementations intended for use in testing.
     *
     * @author Charles Fry
     */
    public class TestingWeighers {
    
      /** Returns a {@link Weigher} that returns the given {@code constant} for every request. */
      static Weigher<Object, Object> constantWeigher(int constant) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/RemovalCause.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.concurrent.ConcurrentMap;
    
    /**
     * The reason why a cached entry was removed.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public enum RemovalCause {
      /**
       * The entry was manually removed by the user. This can result from the user invoking {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/RemovalNotification.java

     *
     * <p>Like other {@code Entry} instances associated with {@code CacheBuilder}, this class holds
     * strong references to the key and value, regardless of the type of references the cache may be
     * using.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class RemovalNotification<K, V>
        extends SimpleImmutableEntry<@Nullable K, @Nullable V> {
      private final RemovalCause cause;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 20:46:24 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. 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> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/AbstractLoadingCache.java

     * in terms of {@link #invalidate}. The method {@link #cleanUp} is a no-op. All other methods throw
     * an {@link UnsupportedOperationException}.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractLoadingCache<K, V> extends AbstractCache<K, V>
        implements LoadingCache<K, V> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/ForwardingLoadingCache.java

     *
     * <p>Note that {@link #get}, {@link #getUnchecked}, and {@link #apply} all expose the same
     * underlying functionality, so should probably be overridden as a group.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingLoadingCache<K, V> extends ForwardingCache<K, V>
        implements LoadingCache<K, V> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/RemovalListener.java

     *     if any key is acceptable
     * @param <V> the most general type of values this listener can listen for; for example {@code
     *     Object} if any key is acceptable
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface RemovalListener<K, V> {
      /**
       * Notifies the listener that a removal occurred at some point in the past.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/annotations/GwtIncompatible.java

     * <p>This annotation behaves identically to <a href=
     * "http://www.gwtproject.org/javadoc/latest/com/google/gwt/core/shared/GwtIncompatible.html">the
     * {@code @GwtIncompatible} annotation in GWT itself</a>.
     *
     * @author Charles Fry
     */
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD})
    @Documented
    @GwtCompatible
    public @interface GwtIncompatible {
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.9K bytes
    - Viewed (0)
Back to top