- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 98 for getFirst (0.09 sec)
-
src/main/java/org/codelibs/fess/query/QueryCommand.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 11:39:05 UTC 2025 - 11.6K bytes - Viewed (0) -
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 emptyRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 18:35:28 UTC 2025 - 43.8K bytes - Viewed (0) -
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) -
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) -
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) -
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 emptyRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 43.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 22.3K bytes - Viewed (0) -
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) -
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) -
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 typeRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (0)