Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 402 for forEach (0.16 seconds)

  1. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

                        .limit(toRemove)
                        .map(Map.Entry::getKey)
                        .collect(Collectors.toList())
                        .forEach(sessionCache::remove);
            }
        }
    
        /**
         * Checks if a session is expired.
         *
         * @param session the session to check
         * @return true if the session is expired
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                deleteDirectory(tempDir);
            }
            super.tearDown(testInfo);
        }
    
        private void deleteDirectory(Path dir) throws IOException {
            Files.walk(dir).sorted((a, b) -> b.compareTo(a)).forEach(path -> {
                try {
                    Files.delete(path);
                } catch (IOException e) {
                    // Ignore
                }
            });
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            if (StringUtil.isNotBlank(httpAddress)) {
                System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, httpAddress);
            }
    
            waitForYellowStatus(fessConfig);
    
            indexConfigList.forEach(configName -> {
                final String[] values = configName.split("/");
                if (values.length == 2) {
                    final String configIndex = values[0];
                    final String configType = values[1];
    
    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)
  4. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                        final BiConsumer<Map<String, Object>, IndexRequestBuilder> options) {
                    sentIndex.set(index);
                    docList.forEach(x -> options.accept(x, new IndexRequestBuilder(this, IndexAction.INSTANCE)));
                    sentDocList.addAll(docList);
                    return new BulkResponse(new BulkItemResponse[0], documentSizeByQuery);
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                        children.filter(Files::isDirectory)
                                .filter(dir -> Files.exists(dir.resolve(POM_XML)))
                                .forEach(dir ->
                                        actualSubprojects.add(dir.getFileName().toString()));
                    }
                }
            } catch (Exception e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/RegularImmutableMap.java

           * performance-conscious users.
           */
          if (key.equals(candidateKey)) {
            return entry.getValue();
          }
        }
        return null;
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        for (Entry<K, V> entry : entries) {
          action.accept(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                CommandLine commandLine = parser.parse(options, cleanArgs);
                // to trigger deprecation handler, so we can report deprecation BEFORE we actually use options
                options.getOptions().forEach(commandLine::hasOption);
                return commandLine;
            }
    
            protected void addDeprecatedOption(Option option) {
                usedDeprecatedOptions.add(option);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Maps.java

            }
          }
          return new EntrySetImpl();
        }
    
        @Override
        public void forEach(BiConsumer<? super K, ? super V> action) {
          checkNotNull(action);
          // avoids allocation of entries
          backingSet().forEach(k -> action.accept(k, function.apply(k)));
        }
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object>
    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)
  9. guava/src/com/google/common/collect/ImmutableSortedMap.java

          }
    
          @Override
          public Spliterator<Entry<K, V>> spliterator() {
            return asList().spliterator();
          }
    
          @Override
          public void forEach(Consumer<? super Entry<K, V>> action) {
            asList().forEach(action);
          }
    
          @Override
          ImmutableList<Entry<K, V>> createAsList() {
            return new ImmutableAsList<Entry<K, V>>() {
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

            CommandLine commandLine = parser.parse(options, cleanArgs);
            // to trigger deprecation handler, so we can report deprecation BEFORE we actually use options
            options.getOptions().forEach(commandLine::hasOption);
            return commandLine;
        }
    
        public Set<Option> getUsedDeprecatedOptions() {
            return usedDeprecatedOptions;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Aug 06 04:56:48 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top