Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for SynchronizedSet (0.07 seconds)

  1. 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);
        assertThat(((SynchronizedSet<?>) keySet).mutex).isSameInstanceAs(mutex);
      }
    
      public void testValues() {
        Map<String, Integer> map = create();
        Collection<Integer> values = map.values();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. android/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);
        assertThat(((SynchronizedSet<?>) keySet).mutex).isSameInstanceAs(mutex);
      }
    
      public void testValues() {
        Map<String, Integer> map = create();
        Collection<Integer> values = map.values();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DependencyContext.java

            scopesToCollectForCurrentProject = scopesToCollect;
            scopesToResolveForCurrentProject = scopesToResolve;
            scopesToCollectForAggregatedProjects = Collections.synchronizedSet(new TreeSet<>());
            scopesToResolveForAggregatedProjects = Collections.synchronizedSet(new TreeSet<>());
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public Collection<String> getScopesToCollectForCurrentProject() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ReactorBuildStatus.java

     *
     * @since 3.0
     */
    public class ReactorBuildStatus {
        private final ProjectDependencyGraph projectDependencyGraph;
    
        private final Collection<String> blackListedProjects = Collections.synchronizedSet(new HashSet<>());
    
        private volatile boolean halted = false;
    
        public ReactorBuildStatus(ProjectDependencyGraph projectDependencyGraph) {
            this.projectDependencyGraph = projectDependencyGraph;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  5. 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;
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top