Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 98 for getFirst (0.05 sec)

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

                }
            })));
            getQueryFieldConfig().additionalDefaultList.stream().forEach(f -> {
                final QueryBuilder query = builder.apply(f.getFirst(), f.getSecond());
                defaultQuery.add(query);
            });
            return defaultQuery;
        }
    
        /**
         * Creates a default query builder based on the configured query type.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 11:39:05 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 21+ users:</b> if {code iterable} is a {@code SequencedCollection} (e.g., any list),
       * consider using {@code collection.getFirst()} instead. Note that if the collection is empty,
       * {@code getFirst()} throws a {@code NoSuchElementException}, while this method returns the
       * default value.
       *
       * @param defaultValue the default value to return if the iterable is empty
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 18:35:28 UTC 2025
    - 43.8K bytes
    - Viewed (0)
  3. README.md

    Set<String> caseInsensitiveSet = new CaseInsensitiveSet<>();
    
    // Java 21 Sequenced Collections support
    SequencedCollection<String> sequenced = CollectionsUtil.newLinkedHashSet();
    String first = CollectionsUtil.getFirst(sequenced);
    String last = CollectionsUtil.getLast(sequenced);
    SequencedCollection<String> reversed = CollectionsUtil.reversed(sequenced);
    
    // Specialized collections
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/SLinkedList.java

        public SLinkedList() {
            header.next = header;
            header.previous = header;
        }
    
        /**
         * Returns the first element.
         *
         * @return the first element
         */
        public E getFirst() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            return getFirstEntry().element;
        }
    
        /**
         * Returns the last element.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>Java 21+ users:</b> if {code iterable} is a {@code SequencedCollection} (e.g., any list),
       * consider using {@code collection.getFirst()} instead. Note that if the collection is empty,
       * {@code getFirst()} throws a {@code NoSuchElementException}, while this method returns the
       * default value.
       *
       * @param defaultValue the default value to return if the iterable is empty
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                final List<String> roles = new ArrayList<>();
    
                for (final Pair<String, String> searchFieldLog : searchLog.getSearchFieldLogList()) {
                    final String name = searchFieldLog.getFirst();
                    if (contentFieldNameSet.contains(name)) {
                        if (sb.length() > 0) {
                            sb.append(TEXT_SEP);
                        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            final String value = clientConfigMap.get(CRAWLER_CLIENTS);
            final CrawlerClient client = getClientRuleList(value).stream().map(e -> {
                if (e.getSecond().matcher(url).matches()) {
                    return e.getFirst();
                }
                return null;
            })
                    .filter(StringUtil::isNotBlank)
                    .findFirst()//
                    .map(s -> clientFactory.getClient(s + ":" + url))//
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                responseData.setMimeType(statObject.contentType());
                statObject.headers().forEach(e -> responseData.addMetaData(e.getFirst(), e.getSecond()));
    
                if (contentLengthHelper != null) {
                    final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20K bytes
    - Viewed (2)
  10. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @return the first element, or null if the collection is empty
         * @since Java 21
         */
        public static <E> E getFirst(final SequencedCollection<E> collection) {
            return collection.isEmpty() ? null : collection.getFirst();
        }
    
        /**
         * Returns the last element of a sequenced collection.
         *
         * @param <E> the element type
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
Back to top