Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for getFirst (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

                        parseHtmlEncodedChar(text);
                    } else if (scanner.lookingAt(HTML_ENTITY)) {
                        parseHtmlEntity(text);
                    } else {
                        text.append(scanner.getFirst());
                        scanner.next();
                    }
                }
    
                visitor.onText(text.toString());
            }
            visitor.onEnd();
        }
    
        private void skipComment() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top