Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 406 for foreach (0.17 sec)

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

                    logger.debug("updated query map: {}", 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;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. 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)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            if (tempDir != null && Files.exists(tempDir)) {
                Files.walk(tempDir)
                        .sorted((a, b) -> b.compareTo(a)) // Delete files before directories
                        .forEach(path -> {
                            try {
                                Files.delete(path);
                            } catch (IOException e) {
                                // Ignore cleanup errors
                            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

      }
    
      private fun checkForStartEvent(e: ConnectionEvent) {
        if (eventSequence.isEmpty()) {
          assertThat(e).isInstanceOf(ConnectionEvent.ConnectStart::class.java)
        } else {
          eventSequence.forEach loop@{
            when (e.closes(it)) {
              null -> return // no open event
              true -> return // found open event
              false -> return@loop // this is not the open event so continue
            }
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

                final Path logDirPath = Paths.get(logFilePath);
                try (Stream<Path> stream = Files.list(logDirPath)) {
                    stream.filter(entry -> isLogFilename(entry.getFileName().toString())).sorted().forEach(filePath -> {
                        final Map<String, Object> map = new HashMap<>();
                        final String name = filePath.getFileName().toString();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (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]);
                        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. 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<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/FacetResponse.java

         *
         * @param aggregations the OpenSearch aggregations containing facet data
         */
        public FacetResponse(final Aggregations aggregations) {
            aggregations.forEach(aggregation -> {
                if (aggregation.getName().startsWith(Constants.FACET_FIELD_PREFIX)) {
                    final Terms termFacet = (Terms) aggregation;
                    fieldList.add(new Field(termFacet));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. 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 {}", f);
                    }
                    try {
                        Files.delete(f);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                final ThumbnailManager thumbnailManager = ComponentUtil.getThumbnailManager();
                final String thumbnailField = fessConfig.getIndexFieldThumbnail();
                docList.stream().forEach(doc -> {
                    if (!thumbnailManager.offer(doc)) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Removing {}={} from doc[{}]", thumbnailField, doc.get(thumbnailField),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top