- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 66 for setFirst (0.05 seconds)
-
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 emptyCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 43.6K bytes - Click Count (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(); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 32.7K bytes - Click Count (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. *
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 10.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
private static class Holder<T> { List<T>[] matrix; void setList(List<T> list) {} } public void testWildcardCaptured_methodParameter_upperBound() throws Exception { TypeToken<Holder<?>> type = new TypeToken<Holder<?>>() {}; ImmutableList<Parameter> parameters = type.method(Holder.class.getDeclaredMethod("setList", List.class)).getParameters(); assertThat(parameters).hasSize(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
protected Map<String, String> getConfigPrameterMap(final ResponseData responseData, final ConfigName config) { return Map.of(); } }.getChildUrlRules(null, null).map(v -> v.getFirst() + ":" + v.getSecond()).collect(Collectors.joining(","))); assertEquals("//A:href", new FessXpathTransformer() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 62.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
* @since 12.0 */ @Override public @Nullable E ceiling(E e) { return Iterables.<@Nullable E>getFirst(tailSet(e, true), null); } /** * @since 12.0 */ @GwtIncompatible // NavigableSet @Override public @Nullable E higher(E e) { return Iterables.<@Nullable E>getFirst(tailSet(e, false), null); } @Override public E first() { return iterator().next(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.1K bytes - Click Count (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))//
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 19.5K bytes - Click Count (0) -
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 typeCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 49.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
private static class Holder<T> { List<T>[] matrix; void setList(List<T> list) {} } public void testWildcardCaptured_methodParameter_upperBound() throws Exception { TypeToken<Holder<?>> type = new TypeToken<Holder<?>>() {}; ImmutableList<Parameter> parameters = type.method(Holder.class.getDeclaredMethod("setList", List.class)).getParameters(); assertThat(parameters).hasSize(1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0)