- Sort Score
- Num 10 results
- Language All
Results 71 - 75 of 75 for computeIfAbsent (0.12 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 37K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
BuildPlanExecutor.attachToThread(step.project); session.setCurrentProject(step.project); } private Clock getClock(Object key) { return clocks.computeIfAbsent(key, p -> new Clock()); } private void plan() { lock.writeLock().lock(); try { Set<BuildStep> planSteps = plan.allSteps()
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
checkNotNull(key); checkNotNull(function); int hash = hash(key); return segmentFor(hash).compute(key, hash, function); } @Override public V computeIfAbsent(K key, Function<? super K, ? extends V> function) { checkNotNull(key); checkNotNull(function); return compute(key, (k, oldValue) -> (oldValue == null) ? function.apply(key) : oldValue); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
String referenceKey = ""; if (summary.getReference() != null && !summary.getReference().isEmpty()) { referenceKey = references.computeIfAbsent(summary.getReference(), k -> "[Help " + (references.size() + 1) + "]"); } String msg = summary.getMessage(); if (referenceKey != null && !referenceKey.isEmpty()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
* * @param index the index name * @param path path to the configuration file */ public void addConfigFile(final String index, final String path) { configListMap.computeIfAbsent(index, k -> new ArrayList<>()).add(path); } /** * Sets the configuration settings for the search engine. * * @param settings map of configuration key-value pairs */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 138.6K bytes - Click Count (1)