Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for computeIfAbsent (0.45 seconds)

  1. 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(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

         * @param handler the consumer to invoke when the event is received.
         */
        public void addEventHandler(final String eventName, final Consumer<EventInfo> handler) {
            eventHandlers.computeIfAbsent(eventName, k -> new ArrayList<>()).add(handler);
        }
    
        /**
         * Fetches new events from OpenSearch that were created after the last check time.
         *
         * @return the list of new events.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  3. 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)
  4. 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)
Back to Top