Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 54 for computeIfAbsent (0.2 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

            if (setterInfo == null) {
                // Look for any method named "set" with one parameter
                Map<String, MethodInfo> classMethodCache = METHOD_CACHE.computeIfAbsent(beanType, this::buildMethodCache);
                setterInfo = classMethodCache.get("set");
            }
    
            if (setterInfo == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

    @Deprecated(since = "4.0.0")
    class Graph {
    
        final Map<String, Set<String>> graph = new LinkedHashMap<>();
    
        synchronized void addEdge(String from, String to) throws CycleDetectedException {
            if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {
                List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>());
                if (cycle != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            vFrom.setCompareScope(scopedVertices);
    
            List<MetadataGraphEdge> exList = excidentEdges.computeIfAbsent(vFrom, k -> new ArrayList<>());
    
            if (!exList.contains(e)) {
                exList.add(e);
            }
    
            List<MetadataGraphEdge> inList = incidentEdges.computeIfAbsent(vTo, k -> new ArrayList<>());
    
            if (!inList.contains(e)) {
                inList.add(e);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

                    allHandlers.clear();
                }
            }
        }
    
        @Override
        public ArtifactHandler getArtifactHandler(String id) {
            return allHandlers.computeIfAbsent(id, k -> {
                Type type = typeRegistry.require(id);
                return new DefaultArtifactHandler(
                        id,
                        type.getExtension(),
                        type.getClassifier(),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

            lifecycle.allPhases().forEach(phase -> phase.plugins()
                    .forEach(plugin -> plugin.getExecutions().forEach(exec -> exec.getGoals()
                            .forEach(goal -> goals.computeIfAbsent(phase.name(), n -> new ArrayList<>())
                                    .add(plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion()
                                            + ":" + goal)))));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java

                }, depsTask);
    
                if (distribution.getPlatform() == Platform.WINDOWS) {
                    windowsTestTasks.add(destructiveTask);
                } else {
                    linuxTestTasks.computeIfAbsent(distribution.getType(), k -> new ArrayList<>()).add(destructiveTask);
                }
                destructiveDistroTest.configure(t -> t.dependsOn(destructiveTask));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 28 21:31:21 GMT 2021
    - 23.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java

         * Parses the phase identifier.
         *
         * @param phase the phase identifier.
         * @return the {@link PhaseId}.
         */
        public static synchronized PhaseId of(String phase) {
            return INSTANCES.computeIfAbsent(phase, PhaseId::new);
        }
    
        /**
         * Constructor.
         *
         * @param phase the phase identifier string.
         */
        private PhaseId(String phase) {
            int phaseStart;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            ConcurrentMap<String, ConcurrentMap<String, Object>> pluginContextsByKey =
                    pluginContextsByProjectAndPluginKey.computeIfAbsent(projectKey, k -> new ConcurrentHashMap<>());
    
            String pluginKey = plugin.getPluginLookupKey();
    
            return pluginContextsByKey.computeIfAbsent(pluginKey, k -> new ConcurrentHashMap<>());
        }
    
        public ProjectDependencyGraph getProjectDependencyGraph() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  9. docs/smb3-features/03-multi-channel-design.md

            
            // Mark channel as failed
            failedChannel.setState(ChannelState.FAILED);
            
            // Get or create failover state
            FailoverState state = failoverStates.computeIfAbsent(
                failedChannel.getChannelId(), 
                FailoverState::new
            );
            
            // Redistribute pending operations
            redistributePendingOperations(failedChannel);
            
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

            }
        }
    
        private fun MutableMap<String, MutableList<String>>.addToMap(filePath: String, values: List<String>) {
            this.computeIfAbsent(filePath) { mutableListOf() }.addAll(values)
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 03 06:57:08 GMT 2025
    - 6.2K bytes
    - Click Count (1)
Back to Top