- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for computeIfAbsent (5.2 sec)
-
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 12.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
if (allProjects != null) { Map<String, Map<String, Map<String, MavenProject>>> map = new HashMap<>(); allProjects.forEach(project -> map.computeIfAbsent(project.getGroupId(), k -> new HashMap<>()) .computeIfAbsent(project.getArtifactId(), k -> new HashMap<>()) .put(project.getVersion(), project)); this.allProjects = map; } else {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:20:38 UTC 2025 - 24.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JsonExtractor.java
} else { textBuilder.append(value).append(lineSeparator); } // Add to metadata if at top level if (depth <= 1 && StringUtil.isNotBlank(key)) { metadataMap.computeIfAbsent(key, k -> new ArrayList<>()).add(value); } } /** * Builds a nested key path. * * @param parentKey the parent key * @param currentKey the current keyRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 03:46:53 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 19.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertThrows(UnsupportedOperationException.class, () -> unmod.replace(3, "four")); assertThrows( UnsupportedOperationException.class, () -> unmod.computeIfAbsent(3, k -> k + "three")); assertThrows(UnsupportedOperationException.class, () -> unmod.computeIfPresent(4, (k, v) -> v)); assertThrows(UnsupportedOperationException.class, () -> unmod.compute(4, (k, v) -> v));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 37K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
ModelBuilderResult result; try { ModelTransformer injector = (m, r, p) -> { MavenProject project = projectIndex.computeIfAbsent(m.getId(), f -> new MavenProject()); return injectLifecycleBindings(m, r, p, project, request); }; ModelBuilderRequest modelBuildingRequest = getModelBuildingRequest()Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
} @Override public @Nullable V replace(K key, V value) { throw new UnsupportedOperationException(); } @Override public V computeIfAbsent( K key, java.util.function.Function<? super K, ? extends V> mappingFunction) { throw new UnsupportedOperationException(); } @Override public @Nullable V computeIfPresent(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
} }; Cache<Object, Object> cache = CacheBuilder.newBuilder().removalListener(removalListener).build(); cache.put("a", "b"); cache.asMap().computeIfAbsent("a", k -> "c"); assertThat(notifications).isEmpty(); } public void testCopyEntry_computing() { CountDownLatch startSignal = new CountDownLatch(1);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (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 */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 122.4K bytes - Viewed (1)