Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 322 for forEach (0.08 sec)

  1. guava/src/com/google/common/collect/ForwardingConcurrentMap.java

     * href="https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ConcurrentMap.html">before
     * {@code default} methods were introduced</a>. For newer methods, like {@code forEach}, it inherits
     * their default implementations. When those implementations invoke methods, they invoke methods on
     * the {@code ForwardingConcurrentMap}.
     *
     * @author Charles Fry
     * @since 2.0
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                stream(parameter.getSuggestFields()).of(stream -> stream.forEach(builder::addField));
                roleQueryHelper.build(SearchRequestType.SUGGEST).stream().forEach(builder::addRole);
                builder.setSize(parameter.getNum());
                stream(langs).of(stream -> stream.forEach(builder::addLang));
    
                stream(parameter.getTags()).of(stream -> stream.forEach(builder::addTag));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                queryContext.sortBuilders().forEach(sortBuilder -> searchRequestBuilder.addSort(sortBuilder));
            }
    
            protected void buildRescorer(final QueryHelper queryHelper, final QueryFieldConfig queryFieldConfig, final FessConfig fessConfig) {
                stream(queryHelper.getRescorers(condition())).of(stream -> stream.forEach(searchRequestBuilder::addRescorer));
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

                } else {
                    k = line;
                }
            }
            Collections.shuffle(data);
    
            long t0 = System.nanoTime();
            Graph g = new Graph();
            data.parallelStream().forEach(s -> {
                try {
                    g.addEdge(s[0], s[1]);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            });
            long t1 = System.nanoTime();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/IndexedImmutableSet.java

        return asList().iterator();
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return CollectSpliterators.indexed(size(), SPLITERATOR_CHARACTERISTICS, this::get);
      }
    
      @Override
      public void forEach(Consumer<? super E> consumer) {
        checkNotNull(consumer);
        int n = size();
        for (int i = 0; i < n; i++) {
          consumer.accept(get(i));
        }
      }
    
      @Override
      @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                            postcard.addReplyTo(fessConfig.getMailReturnPath());
                            if (toAddresses.length > 0) {
                                stream(toAddresses).of(stream -> stream.map(String::trim).forEach(address -> {
                                    postcard.addTo(address);
                                }));
                            } else {
                                postcard.addTo(fessConfig.getMailFromAddress());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            fesenClient.addOnConnectListener(() -> createMapping("queue"));
        }
    
        @PreDestroy
        public void destroy() {
            sessionCache.entrySet().stream().map(e -> e.getValue().waitingQueue).forEach(q -> q.forEach(urlQueue -> {
                try {
                    insert(urlQueue);
                } catch (final Exception e) {
                    logger.warn("Failed to restore " + urlQueue, e);
                }
            }));
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        return elements.reverse().iterator();
      }
    
      @Override
      public Spliterator<E> spliterator() {
        return asList().spliterator();
      }
    
      @Override
      public void forEach(Consumer<? super E> action) {
        elements.forEach(action);
      }
    
      @Override
      public int size() {
        return elements.size();
      }
    
      @Override
      public boolean contains(@CheckForNull Object o) {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

        }
    
        @PreDestroy
        public void destroy() {
            if (logger.isDebugEnabled()) {
                logger.debug("cache stats: {}", statsCache.stats());
            }
            statsCache.asMap().entrySet().stream().forEach(e -> {
                final StatsObject data = e.getValue();
                final Long begin = data.remove(BEGIN_KEY);
                if (begin != null) {
                    printStats(e.getKey(), data, begin, false);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            if (logLevel != null) {
                cmdList.add("-Dfess.log.level=" + logLevel);
            }
            stream(fessConfig.getJvmThumbnailOptionsAsArray())
                    .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(value -> cmdList.add(value)));
    
            File ownTmpDir = null;
            final String tmpDir = System.getProperty("java.io.tmpdir");
            if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top