Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for setFirst (0.05 sec)

  1. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

                final String[] values = s.split(":");
                if (values.length == 1) {
                    pair.setFirst(values[0].trim());
                    pair.setSecond(1.0f);
                } else if (values.length > 1) {
                    pair.setFirst(values[0]);
                    pair.setSecond(Float.parseFloat(values[1]));
                } else {
                    return null;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

                        buf.append('&');
                        responseParams.stream().forEach(p -> {
                            try {
                                buf.append(URLEncoder.encode(p.getFirst(), encoding));
                                buf.append('=');
                                buf.append(URLEncoder.encode(p.getSecond(), encoding));
                            } catch (final UnsupportedEncodingException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

            if (applicables.isEmpty()) {
                return null;
            }
    
            if (applicables.size() == 1) {
                return applicables.getFirst();
            }
    
            // This list will contain the maximally specific methods. Hopefully at
            // the end of the below loop, the list will contain exactly one method,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                jspItems.add(new Pair<>(":" + p.getFirst(), "/" + p.getSecond()));
            }
            for (String key : ComponentUtil.getVirtualHostHelper().getVirtualHostPaths()) {
                if (StringUtil.isBlank(key)) {
                    key = "/";
                }
                for (final Pair<String, String> p : systemHelper.getDesignJspFileNames()) {
                    jspItems.add(new Pair<>(key + ":" + p.getFirst(), key + "/" + p.getSecond()));
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                                .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));
                        appendJson("search-field", searchFieldMap, buf).append(',');
                        final Map<String, List<String>> requestHeaderMap = entity.getRequestHeaderList().stream()
                                .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                    }
                }
                throw new UnsupportedOperationException();
            }
    
            @Override
            void onEndHtmlElement(String name) {
                if (!tagStack.isEmpty() && tagStack.getFirst().equals(name)) {
                    tagStack.removeFirst();
                    handlerStack.removeFirst().onEndElement(name);
                }
            }
    
            @Override
            void onStartJavadocTag(String name) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals("foo", Iterables.getFirst(iterable, "bar"));
      }
    
      public void testGetFirst_withDefault_empty() {
        Iterable<String> iterable = emptyList();
        assertEquals("bar", Iterables.getFirst(iterable, "bar"));
      }
    
      public void testGetFirst_withDefault_empty_null() {
        Iterable<String> iterable = emptyList();
        assertNull(Iterables.<@Nullable String>getFirst(iterable, null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

        }
    
        @Override
        protected void writeHeaders(final HttpServletResponse response) {
            ComponentUtil.getFessConfig().getApiDashboardResponseHeaderList().forEach(e -> response.setHeader(e.getFirst(), e.getSecond()));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                protected Map<String, String> getConfigPrameterMap(final ResponseData responseData, final ConfigName config) {
                    return Map.of();
                }
            }.getChildUrlRules(null, null).map(v -> v.getFirst() + ":" + v.getSecond()).collect(Collectors.joining(",")));
            assertEquals("//A:href", new FessXpathTransformer() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                params.put("User Agent", e.getUserAgent());
                e.getSearchFieldLogList().stream().forEach(p -> {
                    params.put(p.getFirst(), p.getSecond());
                });
                e.getRequestHeaderList().stream().forEach(p -> {
                    params.put(p.getFirst(), p.getSecond());
                });
                return params;
            }).get();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
Back to top