Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 605 for foreach (0.34 seconds)

  1. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                        .forEach(allowedLabels::add);
                if (!Locale.ROOT.equals(requestLocale)) {
                    ComponentUtil.getLabelTypeHelper()
                            .getLabelTypeItemList(SearchRequestParams.SearchRequestType.SEARCH, Locale.ROOT)
                            .stream()
                            .map(m -> m.get("value"))
                            .forEach(allowedLabels::add);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  2. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

                }
                localRepository.get().asFileTree.matching { include("**/*.module") }.forEach {
                    val content = it.readText()
                        .replace("\"buildId\":\\s+\"\\w+\"".toRegex(), "\"buildId\": \"\"")
                        .replace("\"size\":\\s+\\d+".toRegex(), "\"size\": 0")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            this.providers = p;
            // validate lifecycle
            for (Lifecycle lifecycle : this) {
                Set<String> set = new HashSet<>();
                lifecycle.allPhases().forEach(phase -> {
                    if (!set.add(phase.name())) {
                        throw new IllegalArgumentException(
                                "Found duplicated phase '" + phase.name() + "' in '" + lifecycle.id() + "' lifecycle");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top