Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for ConcurrentMap (0.12 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    
    /**
     * Test suite for {@link CacheBuilder}. TODO(cpovirk): merge into CacheBuilderTest?
     *
     * @author Jon Donovan
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return ImmutableMap.of(key, value);
      }
    
      @Empty
      static <K, V> ConcurrentMap<K, V> generateConcurrentMap() {
        return Maps.newConcurrentMap();
      }
    
      @Generates
      static <K, V> ConcurrentMap<K, V> generateConcurrentMap(K key, V value) {
        ConcurrentMap<K, V> map = Maps.newConcurrentMap();
        map.put(key, value);
        return map;
      }
    
      @Generates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import java.util.SortedSet;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import java.util.UUID;
    import java.util.concurrent.BlockingDeque;
    import java.util.concurrent.BlockingQueue;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentNavigableMap;
    import java.util.concurrent.DelayQueue;
    import java.util.concurrent.Executor;
    import java.util.concurrent.PriorityBlockingQueue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      }
    
      /*
       * ConcurrentMap operations which we may eventually add.
       *
       * The problem with these is that remove(K, long) has to be done in two phases by definition ---
       * first decrementing to zero, and then removing. putIfAbsent or replace could observe the
       * intermediate zero-state. Ways we could deal with this are:
       *
       * - Don't define any of the ConcurrentMap operations. This is the current state of affairs.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MapMakerInternalMap.java

        final int concurrencyLevel;
    
        transient ConcurrentMap<K, V> delegate;
    
        AbstractSerializationProxy(
            Strength keyStrength,
            Strength valueStrength,
            Equivalence<Object> keyEquivalence,
            Equivalence<Object> valueEquivalence,
            int concurrencyLevel,
            ConcurrentMap<K, V> delegate) {
          this.keyStrength = keyStrength;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.util.Arrays;
    import java.util.List;
    import java.util.concurrent.ConcurrentMap;
    import junit.framework.Assert;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A test utility that verifies that your methods and constructors throw {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        final int concurrencyLevel;
    
        transient ConcurrentMap<K, V> delegate;
    
        AbstractSerializationProxy(
            Strength keyStrength,
            Strength valueStrength,
            Equivalence<Object> keyEquivalence,
            Equivalence<Object> valueEquivalence,
            int concurrencyLevel,
            ConcurrentMap<K, V> delegate) {
          this.keyStrength = keyStrength;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

    import java.util.Arrays;
    import java.util.Collections;
    import java.util.EnumMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import java.util.logging.Level;
    import javax.annotation.CheckForNull;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

    import java.lang.reflect.Modifier;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.util.Arrays;
    import java.util.List;
    import java.util.concurrent.ConcurrentMap;
    import junit.framework.Assert;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A test utility that verifies that your methods and constructors throw {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/TraversalUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.File;
    import java.net.URL;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.ConcurrentMap;
    import java.util.jar.JarFile;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipInputStream;
    
    import org.codelibs.core.jar.JarFileUtil;
    import org.codelibs.core.lang.ClassLoaderUtil;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top