- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for AtomicLongMap (0.05 sec)
-
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* @since 11.0 */ @GwtCompatible public final class AtomicLongMap<K> implements Serializable { private final ConcurrentHashMap<K, Long> map; private AtomicLongMap(ConcurrentHashMap<K, Long> map) { this.map = checkNotNull(map); } /** Creates an {@code AtomicLongMap}. */ public static <K> AtomicLongMap<K> create() { return new AtomicLongMap<>(new ConcurrentHashMap<>()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java
public void testModify_basher() throws Exception { int nTasks = 3000; int nThreads = 100; int getsPerTask = 1000; int deltaRange = 10000; String key = "key"; AtomicLongMap<String> map = AtomicLongMap.create(); ExecutorService threadPool = newFixedThreadPool(nThreads); ArrayList<Future<Long>> futures = new ArrayList<>(); for (int i = 0; i < nTasks; i++) { futures.add(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multiset.java
* </ul> * * <p>If your values may be zero, negative, or outside the range of an int, you may wish to use * {@link com.google.common.util.concurrent.AtomicLongMap} instead. Note, however, that unlike * {@code Multiset}, {@code AtomicLongMap} does not automatically remove zeros. * * <p>See the Guava User Guide article on <a href=
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 19.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
* </ul> * * <p>If your values may be zero, negative, or outside the range of an int, you may wish to use * {@link com.google.common.util.concurrent.AtomicLongMap} instead. Note, however, that unlike * {@code Multiset}, {@code AtomicLongMap} does not automatically remove zeros. * * <p>See the Guava User Guide article on <a href=
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 20.9K bytes - Viewed (0)