Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for setSecond (0.15 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;
                }
                return pair;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/Pair.java

            this.first = first;
        }
    
        /**
         * 2番目の値を返します。
         *
         * @return 2番目の値
         */
        public T2 getSecond() {
            return second;
        }
    
        /**
         * 2番目の値を設定します。
         *
         * @param second
         *            2番目の値
         */
        public void setSecond(final T2 second) {
            this.second = second;
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

            assertEquals("http://.*", list.get(0).getSecond().pattern());
    
            list = crawlerThread.getClientRuleList("playwright:http://.*,playwright:https://.*");
            assertEquals(2, list.size());
            assertEquals("playwright", list.get(0).getFirst());
            assertEquals("http://.*", list.get(0).getSecond().pattern());
            assertEquals("playwright", list.get(1).getFirst());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                    contentList.add(content);
                }
                for (final Pair<Pattern, String> regexData : pair.getSecond()) {
                    if (regexData.getFirst().matcher(query).matches()) {
                        contentList.add(regexData.getSecond().replace(queryPlaceHolder, query));
                    }
                }
                return contentList.toArray(new String[contentList.size()]);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                        }
                        sb.append(searchFieldLog.getSecond());
                        fields.add(name);
                    } else if (tagFieldNameSet.contains(name)) {
                        tags.add(searchFieldLog.getSecond());
                    } else if (roleFieldNameSet.contains(name)) {
                        roles.add(searchFieldLog.getSecond());
                    }
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/exentity/SearchLog.java

                    .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));
            sourceMap.put("searchField", searchFieldMap);
            final Map<String, List<String>> headerMap = headerList.stream()
                    .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));
            sourceMap.put("headers", headerMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

                            try {
                                buf.append(URLEncoder.encode(p.getFirst(), encoding));
                                buf.append('=');
                                buf.append(URLEncoder.encode(p.getSecond(), encoding));
                            } catch (final UnsupportedEncodingException e) {
                                throw new IORuntimeException(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)
  8. src/main/java/org/codelibs/fess/es/user/exbhv/RoleBhv.java

                result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/exbhv/GroupBhv.java

                result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

                result.setAttributes(source.entrySet().stream().filter(e -> isAttribute(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top