Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for ConcurrentMap (0.2 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

         * ({@link PluginDescriptor#getPluginLookupKey()}). Plugin contexts itself are mappings of {@link String} keys to
         * {@link Object} values.
         */
        private final ConcurrentMap<String, ConcurrentMap<String, ConcurrentMap<String, Object>>>
                pluginContextsByProjectAndPluginKey = new ConcurrentHashMap<>();
    
        public void setProjects(List<MavenProject> projects) {
            if (!projects.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

          }
        };
      }
    
      private static final String KEY = "puppies";
    
      ConcurrentMap<String, AtomicInteger> backingMap;
      ConcurrentHashMultiset<String> multiset;
    
      @SuppressWarnings("unchecked")
      @Override
      protected void setUp() {
        backingMap = mock(ConcurrentMap.class);
        when(backingMap.isEmpty()).thenReturn(true);
    
        multiset = new ConcurrentHashMultiset<>(backingMap);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * LocalCache emulation for GWT.
     *
     * @param <K> the base key type
     * @param <V> the base value type
     * @author Charles Fry
     * @author Jon Donovan
     */
    public class LocalCache<K, V> implements ConcurrentMap<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

          }
        };
      }
    
      private static final String KEY = "puppies";
    
      ConcurrentMap<String, AtomicInteger> backingMap;
      ConcurrentHashMultiset<String> multiset;
    
      @SuppressWarnings("unchecked")
      @Override
      protected void setUp() {
        backingMap = mock(ConcurrentMap.class);
        when(backingMap.isEmpty()).thenReturn(true);
    
        multiset = new ConcurrentHashMultiset<>(backingMap);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap();
            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerWeakKeysStrongValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * @since 20.0
       */
      public static <E> ConcurrentHashMultiset<E> create(ConcurrentMap<E, AtomicInteger> countMap) {
        return new ConcurrentHashMultiset<>(countMap);
      }
    
      @VisibleForTesting
      ConcurrentHashMultiset(ConcurrentMap<E, AtomicInteger> countMap) {
        checkArgument(countMap.isEmpty(), "the backing map (%s) must be empty", countMap);
        this.countMap = countMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.NullPointerTester;
    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    public class LocalLoadingCacheTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.NullPointerTester;
    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    public class LocalLoadingCacheTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap();
            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerWeakKeysStrongValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import java.util.SortedSet;
    import java.util.UUID;
    import java.util.concurrent.BlockingDeque;
    import java.util.concurrent.BlockingQueue;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentNavigableMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.Executor;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top