- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for newConcurrentMap (0.4 sec)
-
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 Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
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) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
} public void testConcurrentMap() { assertFreshInstance(new TypeToken<ConcurrentMap<String, ?>>() {}); assertCanGenerateOnly( new TypeToken<ConcurrentMap<EmptyEnum, String>>() {}, Maps.newConcurrentMap()); } public void testMultimap() { assertFreshInstance(new TypeToken<Multimap<String, ?>>() {}); } public void testHashMultimap() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 17.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
} public void testConcurrentMap() { assertFreshInstance(new TypeToken<ConcurrentMap<String, ?>>() {}); assertCanGenerateOnly( new TypeToken<ConcurrentMap<EmptyEnum, String>>() {}, Maps.newConcurrentMap()); } public void testMultimap() { assertFreshInstance(new TypeToken<Multimap<String, ?>>() {}); } public void testHashMultimap() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 18.4K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
* immutable snapshot of all current subscribers to an event without any locking. */ private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers = Maps.newConcurrentMap(); /** The event bus this registry belongs to. */ @Weak private final EventBus bus; SubscriberRegistry(EventBus bus) { this.bus = checkNotNull(bus); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 10.5K bytes - Viewed (0) -
.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<>()">
XML - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Thu Apr 11 13:39:08 GMT 2024 - 13K bytes - Viewed (0) -
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 Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 22.8K bytes - Viewed (0) -
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) -
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) -
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 Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 20.5K bytes - Viewed (0)