- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for toDouble (0.07 sec)
-
src/test/java/org/codelibs/core/convert/DoubleConversionUtilTest.java
*/ public class DoubleConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToDouble() throws Exception { assertEquals(new Double("1000.5"), DoubleConversionUtil.toDouble("1,000.5")); } /** * @throws Exception */ public void testToPrimitiveDouble() throws Exception { assertEquals(1000.5, DoubleConversionUtil.toPrimitiveDouble("1,000.5"), 0); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
} else if (type == BigDecimal.class) { return BigDecimalConversionUtil.toBigDecimal(o); } else if (type == Double.class) { return DoubleConversionUtil.toDouble(o); } else if (type == Long.class) { return LongConversionUtil.toLong(o); } else if (type == Float.class) { return FloatConversionUtil.toFloat(o);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
assertThat(result).isInstanceOf(eventClass) } if (elapsedMs != -1L) { assertThat( TimeUnit.NANOSECONDS.toMillis(actualElapsedNs) .toDouble(), ) .isCloseTo(elapsedMs.toDouble(), 100.0) } return result } fun recordedEventTypes() = eventSequence.map { it.name } fun clearAllEvents() { while (eventSequence.isNotEmpty()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
assertThat(result).isInstanceOf(eventClass) } if (elapsedMs != -1L) { assertThat( TimeUnit.NANOSECONDS.toMillis(actualElapsedNs) .toDouble(), ) .isCloseTo(elapsedMs.toDouble(), 100.0) } return result } fun recordedEventTypes() = eventSequence.map { it.name } fun clearAllEvents() { while (eventSequence.isNotEmpty()) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
while (e != null) { println(e) e = e.cause } } } println() } time = System.currentTimeMillis() - time println("Time: ${time.toDouble() / 1000} seconds\n") } fun main() { Security.insertProviderAt(OpenSSLProvider(), 1) var bootstrapClient = OkHttpClient() var names = listOf("google.com", "graph.facebook.com", "sdflkhfsdlkjdf.ee") try {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
context.details.allVariants { withDependencies { filter { it.group == "xml-apis" }.forEach { it.version { require("1.4.01") } it.because("Gradle has trouble with the versioning scheme and pom redirects in higher versions") } } } } } abstract class ReplaceCglibNodepWithCglibRule : ComponentMetadataRule {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 05 20:15:18 UTC 2024 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
called[0] = true; } @Override public void onFailure(Throwable t) {} }, directExecutor()); assertThat(called[0]).isTrue(); } // Avoid trouble with automatic mapping between JRE and Kotlin runtime classes. static class CustomRuntimeException extends RuntimeException {} public void testCatching() throws Exception { FluentFuture<?> f =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
* could use null, but that messes with our nullness checking, including under J2KT. We could * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more * trouble than just using Object.class.) * * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
* could use null, but that messes with our nullness checking, including under J2KT. We could * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more * trouble than just using Object.class.) * * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 6.3K bytes - Viewed (0)