Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 76 of 76 for computeIfAbsent (0.47 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            context.setSystemProperties(request.getSystemProperties());
            // enrich user properties with project packaging
            Properties userProperties = request.getUserProperties();
            userProperties.computeIfAbsent(
                    (Object) ProfileActivationContext.PROPERTY_NAME_PACKAGING, (p) -> (Object) rawModel.getPackaging());
            context.setUserProperties(userProperties);
            context.setProjectDirectory(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  2. 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()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
Back to top