- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for getFirst (0.43 seconds)
-
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());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java
assertEquals(2.0f, queryFieldConfig.additionalDefaultList.get(0).getSecond()); assertEquals("field2", queryFieldConfig.additionalDefaultList.get(1).getFirst()); assertEquals(1.5f, queryFieldConfig.additionalDefaultList.get(1).getSecond()); assertEquals("field3", queryFieldConfig.additionalDefaultList.get(2).getFirst());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 92.3K bytes - Click Count (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 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) -
guava-tests/test/com/google/common/collect/IterablesTest.java
public void testGetFirst_withDefault_singleton() { Iterable<String> iterable = singletonList("foo"); assertThat(Iterables.getFirst(iterable, "bar")).isEqualTo("foo"); } public void testGetFirst_withDefault_empty() { Iterable<String> iterable = emptyList(); assertThat(Iterables.getFirst(iterable, "bar")).isEqualTo("bar"); } public void testGetFirst_withDefault_empty_null() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* * @throws NullPointerException if the first element is null; if this is a possibility, use {@code * iterator().next()} or {@link Iterables#getFirst} instead. */ @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now. public final Optional<@NonNull E> first() { Iterator<E> iterator = getDelegate().iterator();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
* * @throws NullPointerException if the first element is null; if this is a possibility, use {@code * iterator().next()} or {@link Iterables#getFirst} instead. */ @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now. public final Optional<@NonNull E> first() { Iterator<E> iterator = getDelegate().iterator();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
final Pair<String, String>[] designJspFileNames = systemHelper.getDesignJspFileNames(); assertEquals(1, designJspFileNames.length); assertEquals("xxx", designJspFileNames[0].getFirst()); assertEquals("yyy", designJspFileNames[0].getSecond()); } @Test public void test_setForceStop() { assertFalse(systemHelper.isForceStop());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
} <T> void clearReferenceQueue(ReferenceQueue<T> referenceQueue) { while (referenceQueue.poll() != null) {} } /** Returns first entry of bin for given hash. */ @Nullable E getFirst(int hash) { // read this volatile field only once AtomicReferenceArray<E> table = this.table; return table.get(hash & (table.length() - 1)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc4FormScheme.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 08 14:22:26 GMT 2026 - 14.3K bytes - Click Count (0)