Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 261 for ForEach (0.08 sec)

  1. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

        }
    
        public void test_ofMap() {
            Map<String, String> map = new HashMap<String, String>();
            map.put("key1", "value1");
            map.put("key2", "value2");
            StreamUtil.stream(map).of(s -> s.forEach(m -> assertEquals(map.get(m.getKey()), m.getValue())));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/user/cbean/bs/BsUserCB.java

                    builder.setQuery(queryBuilder);
                }
                _conditionQuery.getFieldSortBuilderList().forEach(sort -> {
                    builder.addSort(sort);
                });
            }
    
            if (_conditionAggregation != null) {
                _conditionAggregation.getAggregationBuilderList().forEach(builder::addAggregation);
            }
    
            if (_specification != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. 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);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                final String[] oldLabels = DocumentUtil.getValue(dataMap, fessConfig.getIndexFieldLabel(), String[].class);
                StreamUtil.stream(oldLabels).of(stream -> stream.forEach(newLabelSet::add));
                matchedLabelSet.stream().forEach(newLabelSet::add);
                dataMap.put(fessConfig.getIndexFieldLabel(), newLabelSet.toArray(new String[newLabelSet.size()]));
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

                        fessConfig.getIndexFieldVersion()));
            }
            split(fessConfig.getQueryAdditionalAnalyzedFields(), ",")
                    .of(stream -> stream.map(String::trim).filter(StringUtil::isNotBlank).forEach(s -> notAnalyzedFieldSet.remove(s)));
            split(fessConfig.getQueryAdditionalDefaultFields(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).map(s -> {
                final Pair<String, Float> pair = new Pair<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

        private final List<ScoreBooster> scoreBoosterList = new ArrayList<>();
    
        public String execute() {
            final StringBuilder resultBuf = new StringBuilder();
            scoreBoosterList.forEach(b -> {
                try {
                    final long count = b.process();
                    resultBuf.append(b.getClass().getSimpleName()).append(" : ").append(count).append('\n');
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

        public void register() {
            final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            fessConfig.getApiCorsAllowOriginList().forEach(s -> factory.add(s, this));
        }
    
        @Override
        public void process(final String origin, final ServletRequest request, final ServletResponse response) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                        }
                    } catch (final ChildUrlsException e) {
                        crawlerStatsHelper.record(keyObj, StatsAction.CHILD_URLS);
                        e.getChildUrlList().stream().map(RequestData::getUrl).forEach(urlQueue::offer);
                    } catch (final DataStoreCrawlingException e) {
                        crawlerStatsHelper.record(keyObj, StatsAction.ACCESS_EXCEPTION);
                        final Throwable cause = e.getCause();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. 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)
  10. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top