- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for synchronizedSet (0.09 sec)
-
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} public void testKeySet() { Map<String, Integer> map = create(); Set<String> keySet = map.keySet(); assertTrue(keySet instanceof SynchronizedSet); assertSame(mutex, ((SynchronizedSet<?>) keySet).mutex); } public void testValues() { Map<String, Integer> map = create(); Collection<Integer> values = map.values();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkState; import static java.util.Collections.synchronizedSet; import static java.util.Collections.unmodifiableSet; import com.google.common.base.Equivalence; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 12.5K bytes - Viewed (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
/** * Fetches HTML from a requested URL, follows the links, and repeats. */ public final class Crawler { private final OkHttpClient client; private final Set<HttpUrl> fetchedUrls = Collections.synchronizedSet(new LinkedHashSet<>()); private final BlockingQueue<HttpUrl> queue; private final ConcurrentHashMap<String, AtomicInteger> hostnames = new ConcurrentHashMap<>(); private final int hostLimit;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jul 23 00:58:06 UTC 2025 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
numSuccessfulSetCalls.incrementAndGet(); } awaitUnchecked(barrier); return null; } }; Set<Object> finalResults = Collections.synchronizedSet(Sets.newIdentityHashSet()); Runnable collectResultsRunnable = new Runnable() { @Override public void run() { try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
numSuccessfulSetCalls.incrementAndGet(); } awaitUnchecked(barrier); return null; } }; Set<Object> finalResults = Collections.synchronizedSet(Sets.newIdentityHashSet()); Runnable collectResultsRunnable = new Runnable() { @Override public void run() { try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
protected Map<String, Supplier<String>> updateConfigListenerMap = new HashMap<>(); /** A set of names of threads that are currently waiting. */ protected Set<String> waitingThreadNames = Collections.synchronizedSet(new HashSet<>()); /** * Initializes the SystemHelper. * This method sets up system properties, caches, and other initial configurations. */ @PostConstruct public void init() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0)