Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 402 for forEach (0.07 seconds)

  1. src/main/java/org/codelibs/fess/entity/ParamMap.java

            if (value != null) {
                return value;
            }
            return parent.getOrDefault(toCamelCase(key), defaultValue);
        }
    
        @Override
        public void forEach(final BiConsumer<? super K, ? super V> action) {
            parent.forEach(action);
        }
    
        @Override
        public void replaceAll(final BiFunction<? super K, ? super V, ? extends V> function) {
            parent.replaceAll(function);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                }
                return;
            }
            try (Stream<Path> walk = Files.walk(dir, FileVisitOption.FOLLOW_LINKS)) {
                walk.sorted(Comparator.reverseOrder()).forEach(f -> {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Deleting: path={}", f);
                    }
                    try {
                        Files.delete(f);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

      final String delimiter = "-";
      final String key = "key";
      Cache<String, String> cache;
    
      // helper
      private static void doParallelCacheOp(int count, IntConsumer consumer) {
        IntStream.range(0, count).parallel().forEach(consumer);
      }
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        this.cache =
            CacheBuilder.newBuilder()
                .expireAfterAccess(500000, MILLISECONDS)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

                    logger.debug("Updated query map: queryMap={}", queryMap);
                }
            }
    
            final FacetInfo facetInfo = ComponentUtil.getComponent("facetInfo");
            queryMap.values().stream().distinct().forEach(facetInfo::addQuery);
        }
    
        /**
         * Gets the title for this facet query view.
         *
         * @return the title string
         */
        public String getTitle() {
            return title;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                    try {
                        Files.walk(tempDir)
                                .sorted(java.util.Comparator.reverseOrder())
                                .forEach(path -> {
                                    try {
                                        Files.deleteIfExists(path);
                                    } catch (Exception e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

         */
        @PostConstruct
        public void init() {
            StreamUtil.split(ComponentUtil.getFessConfig().getIndexFiletype(), "\n")
                    .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(s -> {
                        final String[] values = StringUtils.split(s, "=", 2);
                        if (values.length == 2) {
                            mimetypeMap.put(values[0], values[1]);
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Multimap.java

       *
       * <p>To loop over all keys and their associated value collections, write {@code
       * Multimaps.asMap(multimap).forEach((key, valueCollection) -> action())}.
       *
       * @since 21.0
       */
      default void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        entries().forEach(entry -> action.accept(entry.getKey(), entry.getValue()));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

                getWebConfig().getConfigParameterMap(ConfigName.CONFIG)
                        .entrySet()
                        .stream()
                        .filter(e -> e.getKey().startsWith(Config.JCIFS_PREFIX))
                        .forEach(e -> jcifsParams.put(e.getKey(), e.getValue()));
                if (!jcifsParams.isEmpty()) {
                    config.setNtlmParameters(jcifsParams);
                }
            } else if (Constants.FORM.equals(scheme)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

            });
        }
    
        @Override
        public int load() {
            final Map<String, Map<String, String[]>> relatedQueryMap = new HashMap<>();
            getAvailableRelatedQueryList().stream().forEach(entity -> {
                final String key = getHostKey(entity);
                Map<String, String[]> map = relatedQueryMap.get(key);
                if (map == null) {
                    map = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/PublishPlugin.java

                node.appendNode("inceptionYear", "2009");
                var licensesNode = node.appendNode("licenses");
                projectLicenses.get().entrySet().stream().sorted(Map.Entry.comparingByKey()).forEach(entry -> {
                    Node license = licensesNode.appendNode("license");
                    license.appendNode("name", entry.getKey());
                    license.appendNode("url", entry.getValue());
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 11 07:30:51 GMT 2021
    - 8.9K bytes
    - Click Count (0)
Back to Top