- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for toBoolean (0.07 sec)
-
src/test/java/org/codelibs/core/convert/BooleanConversionUtilTest.java
assertEquals("1", Boolean.TRUE, BooleanConversionUtil.toBoolean(Integer.valueOf(1))); assertEquals("2", Boolean.FALSE, BooleanConversionUtil.toBoolean(Integer.valueOf(0))); assertEquals("3", Boolean.FALSE, BooleanConversionUtil.toBoolean("0")); assertEquals("4", Boolean.TRUE, BooleanConversionUtil.toBoolean("1")); assertEquals("5", Boolean.TRUE, BooleanConversionUtil.toBoolean("2"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
val Project.autoDownloadAndroidStudio: Boolean get() = propertyFromAnySource(AUTO_DOWNLOAD_ANDROID_STUDIO).getOrElse("false").toBoolean() val Project.runAndroidStudioInHeadlessMode: Boolean get() = propertyFromAnySource(RUN_ANDROID_STUDIO_IN_HEADLESS_MODE).getOrElse("false").toBoolean() val Project.androidStudioHome: Provider<String> get() = propertyFromAnySource(STUDIO_HOME) /**
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 09 08:19:42 UTC 2024 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/ScheduledJobDbm.java
{ setupEpg(_epgMap, et -> ((ScheduledJob) et).getAvailable(), (et, vl) -> ((ScheduledJob) et).setAvailable(DfTypeUtil.toBoolean(vl)), "available"); setupEpg(_epgMap, et -> ((ScheduledJob) et).getCrawler(), (et, vl) -> ((ScheduledJob) et).setCrawler(DfTypeUtil.toBoolean(vl)), "crawler");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 13.3K bytes - Viewed (0) -
settings.gradle.kts
project(":mockwebserver-junit5").name = "mockwebserver3-junit5" val androidBuild: String by settings val graalBuild: String by settings val loomBuild: String by settings if (androidBuild.toBoolean()) { include(":regression-test") } if (graalBuild.toBoolean()) { include(":native-image-tests") } include(":okcurl") include(":okhttp") include(":okhttp-bom") include(":okhttp-brotli") include(":okhttp-coroutines")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Apr 14 14:24:05 UTC 2024 - 2.6K bytes - Viewed (0) -
container-tests/build.gradle.kts
tasks.withType<Test> { useJUnitPlatform() onlyIf("By default not in CI") { System.getenv("CI") == null || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean()) } jvmArgs( "-Dokhttp.platform=$platform", ) if (platform == "loom") { jvmArgs( "-Djdk.tracePinnedThreads=short", ) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 17 14:46:34 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java
public abstract class BooleanConversionUtil { /** * {@link Boolean}に変換します。 * * @param o * 変換元のオブジェクト * @return 変換された{@link Boolean} */ public static Boolean toBoolean(final Object o) { if (o == null) { return null; } else if (o instanceof Boolean) { return (Boolean) o; } else if (o instanceof Number) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsScheduledJobBhv.java
try { final RESULT result = entityType.newInstance(); result.setAvailable(DfTypeUtil.toBoolean(source.get("available"))); result.setCrawler(DfTypeUtil.toBoolean(source.get("crawler"))); result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy"))); result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.2K bytes - Viewed (0) -
android-test/build.gradle.kts
@file:Suppress("UnstableApiUsage") plugins { id("com.android.library") kotlin("android") id("de.mannodermaus.android-junit5") } val androidBuild = property("androidBuild").toString().toBoolean() android { compileSdk = 34 namespace = "okhttp.android.test" defaultConfig { minSdk = 21 // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsFileConfigBhv.java
try { final RESULT result = entityType.newInstance(); result.setAvailable(DfTypeUtil.toBoolean(source.get("available"))); result.setBoost(DfTypeUtil.toFloat(source.get("boost"))); result.setConfigParameter(DfTypeUtil.toString(source.get("configParameter")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.8K bytes - Viewed (0)