- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for toBoolean (0.14 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) -
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) -
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) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
"CompileAllBuild_NGRemote" ) || isBuildCommitDistribution val Project.isBuildCommitDistribution: Boolean get() = providers.gradleProperty("buildCommitDistribution").map { it.toBoolean() }.orElse(false).get() fun Project.isInBuild(vararg buildTypeIds: String) = providers.environmentVariable("BUILD_TYPE_ID").orNull?.let { currentBuildTypeId -> buildTypeIds.any { currentBuildTypeId.endsWith(it) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Mar 07 05:49:29 UTC 2024 - 4.6K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
val isIntel: Boolean = architecture == "x86_64" || architecture == "x86" val isSlowInternetConnection get() = System.getProperty("slow.internet.connection", "false")!!.toBoolean() val agentNum: Int get() { if (System.getenv().containsKey("USERNAME")) { val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 09 08:19:42 UTC 2024 - 4.9K bytes - Viewed (0)