Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for newConcurrentMap (0.2 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      @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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      @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
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  3. .idea/inspectionProfiles/Gradle.xml

          </replaceConfiguration>
          <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" text="com.google.common.collect.Maps.newConcurrentMap()" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" replacement="new java.util.concurrent.ConcurrentHashMap&lt;&gt;()">
    XML
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 13:39:08 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * default implementations and are "new"d upon get().
       */
      private static final ConcurrentMap<Class<?>, Class<?>> implementations = Maps.newConcurrentMap();
    
      private static <T> void setImplementation(Class<T> type, Class<? extends T> implementation) {
        checkArgument(type != implementation, "Don't register %s to itself!", type);
        checkArgument(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * default implementations and are "new"d upon get().
       */
      private static final ConcurrentMap<Class<?>, Class<?>> implementations = Maps.newConcurrentMap();
    
      private static <T> void setImplementation(Class<T> type, Class<? extends T> implementation) {
        checkArgument(type != implementation, "Don't register %s to itself!", type);
        checkArgument(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/NullPointerTester.java

              builder.add(method);
            }
          }
          return builder.build();
        }
    
        final Iterable<Method> getInstanceMethods(Class<?> cls) {
          ConcurrentMap<Signature, Method> map = Maps.newConcurrentMap();
          for (Method method : getVisibleMethods(cls)) {
            if (!Invokable.from(method).isStatic()) {
              map.putIfAbsent(new Signature(method), method);
            }
          }
          return map.values();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

              builder.add(method);
            }
          }
          return builder.build();
        }
    
        final Iterable<Method> getInstanceMethods(Class<?> cls) {
          ConcurrentMap<Signature, Method> map = Maps.newConcurrentMap();
          for (Method method : getVisibleMethods(cls)) {
            if (!Invokable.from(method).isStatic()) {
              map.putIfAbsent(new Signature(method), method);
            }
          }
          return map.values();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
Back to top