- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 77 for isNotEmpty (0.09 sec)
-
src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java
public void test_apply_string() { BooleanFunction<String> isNotEmpty = s -> s != null && !s.isEmpty(); assertTrue(isNotEmpty.apply("test")); assertTrue(isNotEmpty.apply("a")); assertFalse(isNotEmpty.apply("")); assertFalse(isNotEmpty.apply(null)); } public void test_apply_integer() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java
} /** * Test method for * {@link org.codelibs.core.collection.CollectionsUtil#isNotEmpty(java.util.Collection)} * . */ @Test public void testIsNotEmptyCollectionOfQ() { final Collection<String> c = new ArrayList<String>(); c.add("hoge"); assertThat(CollectionsUtil.isNotEmpty(c), is(true)); } /** * Test method forRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt
testing/$performanceProjectName/build/performance-test-results.zip """ if (performanceTestProject.performanceTests.any { it.testProjects.isNotEmpty() }) { val dependencyBuildIds = performanceTestProject.performanceTests .filter { it.testProjects.isNotEmpty() } .joinToString(",") { "%dep.${it.id}.env.BUILD_ID%" } val dependencyBaselines =Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 5.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt
// https://github.com/google/conscrypt/issues/985 // assertThat(directSessionIds).containsExactlyInAnyOrder(sessionIds[0], sessionIds[1]) } else { assertThat(sessionIds[0]).isNotEmpty() assertThat(sessionIds[1]).isNotEmpty() assertThat(directSessionIds).containsExactlyInAnyOrder(sessionIds[1]) } } else { if (tlsVersion == TlsVersion.TLS_1_3) {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.1K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt
* limitations under the License. */ package okhttp3.containers import assertk.assertThat import assertk.assertions.contains import assertk.assertions.isEmpty import assertk.assertions.isNotEmpty import java.io.ByteArrayOutputStream import java.io.PrintStream import java.util.concurrent.ExecutorService import java.util.concurrent.Executors import okhttp3.Dispatcher import okhttp3.HttpUrl.Companion.toHttpUrl
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
} } } internal fun kickCoordinator(taskQueue: TaskQueue) { assertLockHeld() if (taskQueue.activeTask == null) { if (taskQueue.futureTasks.isNotEmpty()) { readyQueues.addIfAbsent(taskQueue) } else { readyQueues.remove(taskQueue) } } if (coordinatorWaiting) { backend.coordinatorNotify(this@TaskRunner)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 10.4K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
} in 8..9 -> { id = source.readUtf8LineStrict().takeIf { it.isNotEmpty() } } in 10..12 -> { id = null // 'id' on a line of its own. } in 13..14 -> { type = source.readUtf8LineStrict().takeIf { it.isNotEmpty() } } in 15..17 -> { type = null // 'event' on a line of its own }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
* @param arrays * the array * @return {@literal true} if the array is not {@literal null} and its length is not 0 */ public static <T> boolean isNotEmpty(final T[] arrays) { return arrays != null && arrays.length != 0; } /** * Returns {@literal true} if the array is {@literal null} or has a length of 0. * * @param arraysRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 5.1K bytes - Viewed (0)