- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 746 for isEmpty (0.03 sec)
-
android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java
public void testNewArray_fromClass_empty() { String[] empty = ObjectArrays.newArray(String.class, 0); assertEquals(String[].class, empty.getClass()); assertThat(empty).isEmpty(); } @GwtIncompatible // ObjectArrays.newArray(Class, int) public void testNewArray_fromClass_nonempty() { String[] array = ObjectArrays.newArray(String.class, 2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java
if (entityList.isEmpty()) { return new int[] {}; } return delegateBatchRequest(entityList, esEntity -> { return createInsertRequest(esEntity); }); } protected int[] delegateBatchUpdate(List<? extends Entity> entityList, UpdateOption<? extends ConditionBean> option) { if (entityList.isEmpty()) { return new int[] {};
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
public void testIsEmpty() { assertThat(ImmutableDoubleArray.of().isEmpty()).isTrue(); assertThat(ImmutableDoubleArray.of(0).isEmpty()).isFalse(); assertThat(ImmutableDoubleArray.of(0, 1, 3).isEmpty()).isFalse(); assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue(); assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse(); } public void testGet_good() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
this.ticker = firstNonNull(builder.ticker, Ticker.systemTicker()); } @Override public int size() { return cachingHashMap.size(); } @Override public boolean isEmpty() { return cachingHashMap.isEmpty(); } @Override public V get(Object key) { checkNotNull(key); Timestamped<V> value = cachingHashMap.get(key); if (value == null) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
* this will start another thread to handle that work. */ fun awaitTaskToRun(): Task? { assertLockHeld() while (true) { if (readyQueues.isEmpty()) { return null // Nothing to do. } val now = backend.nanoTime() var minDelayNanos = Long.MAX_VALUE var readyTask: Task? = null var multipleReadyTasks = false
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java
String text = ""; String field = "content"; List<String> results = converter.convert(text, field, "en"); assertNotNull(results); assertTrue(results.isEmpty() || (results.size() == 1 && results.get(0).isEmpty())); } @Test public void testConvertWithNullText() throws IOException { // Test convert with null text - this might throw exception String text = null;Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java
runtime.registerData("labelTypeItems", labelTypeItems); runtime.registerData("displayLabelTypeItems", labelTypeItems != null && !labelTypeItems.isEmpty()); Locale locale = ComponentUtil.getRequestManager().getUserLocale(); if (locale == null) { locale = Locale.ENGLISH; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/ByteConversionUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java
* matched the requested range */ @Nonnull default Optional<Version> getLowestVersion() { return getVersions().isEmpty() ? Optional.empty() : Optional.of(getVersions().get(0)); } /** * Gets the highest version matching the requested range. *Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SplitterTest.java
assertThat(nothing).containsExactly("").inOrder(); } public void testCharacterSplitOnEmptyStringOmitEmptyStrings() { assertThat(Splitter.on('.').omitEmptyStrings().split("")).isEmpty(); } public void testCharacterSplitOnOnlyDelimiter() { Iterable<String> blankblank = Splitter.on('.').split("."); assertThat(blankblank).containsExactly("", "").inOrder(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.5K bytes - Viewed (0)