Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 274 for forEach (0.05 sec)

  1. 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)
  2. 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)
  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)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

            final EsPagingResultBean<RESULT> list = new EsPagingResultBean<>(builder);
            final SearchHits searchHits = getSearchHits(response);
            searchHits.forEach(hit -> {
                final Map<String, Object> source = hit.getSourceAsMap();
                final RESULT entity = createEntity(source, entityType);
                final DocMeta docMeta = ((EsAbstractEntity) entity).asDocMeta();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (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()));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            responseData.getMetaDataMap()
                    .entrySet()
                    .stream()
                    .filter(e -> X_ROBOTS_TAG.equalsIgnoreCase(e.getKey()) && e.getValue() != null)
                    .forEach(e -> {
                        boolean noindex = false;
                        boolean nofollow = false;
                        final String value = e.getValue().toString().toLowerCase(Locale.ROOT);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K 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