Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for setFirst (0.1 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. src/main/java/org/codelibs/core/misc/Pair.java

            this.second = second;
        }
    
        /**
         * 1番目の値を返します。
         *
         * @return 1番目の値
         */
        public T1 getFirst() {
            return first;
        }
    
        /**
         * 1番目の値を設定します。
         *
         * @param first
         *            1番目の値
         */
        public void setFirst(final T1 first) {
            this.first = first;
        }
    
        /**
         * 2番目の値を返します。
         *
         * @return 2番目の値
         */
    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. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

                    pop();
                    inPara = true;
                }
            }
            stack.getFirst().appendChild(node);
            if (inPara) {
                Element para = document.createElement("para");
                push(para);
            }
        }
    
        public void push(Element element) {
            stack.getFirst().appendChild(element);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

            assertEquals(1, list.size());
            assertEquals("playwright", list.get(0).getFirst());
            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());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

         */
        @Test
        public void testGetFirst() throws Exception {
            try {
                list.getFirst();
                fail();
            } catch (final NoSuchElementException ex) {
                System.out.println(ex);
            }
            list.addFirst("1");
            assertThat(list.getFirst(), is("1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                this.visitor = visitor;
            }
    
            private void unwindTo(String element, TokenVisitor visitor) {
                if (elementStack.contains(element)) {
                    while (!elementStack.getFirst().equals(element)) {
                        visitor.onEndHtmlElement(elementStack.removeFirst());
                    }
                    elementStack.removeFirst();
                    visitor.onEndHtmlElement(element);
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        @Override
        public @Nullable E pollLast() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.pollLast();
        }
    
        @Override
        public E getFirst() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.getFirst();
        }
    
        @Override
        public E getLast() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.getLast();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. 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)
  9. guava/src/com/google/common/collect/ForwardingDeque.java

        delegate().addLast(e);
      }
    
      @Override
      public Iterator<E> descendingIterator() {
        return delegate().descendingIterator();
      }
    
      @Override
      @ParametricNullness
      public E getFirst() {
        return delegate().getFirst();
      }
    
      @Override
      @ParametricNullness
      public E getLast() {
        return delegate().getLast();
      }
    
      @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this?
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

                final List<String> contentList = new ArrayList<>();
                final String content = pair.getFirst().get(toLowerCase(query));
                if (StringUtil.isNotBlank(content)) {
                    contentList.add(content);
                }
                for (final Pair<Pattern, String> regexData : pair.getSecond()) {
                    if (regexData.getFirst().matcher(query).matches()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top