From 83455446544f89b0663a3f520744331ad8259289 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 02 二月 2024 17:49:43 +0800 Subject: [PATCH] 1. 新增导入静安监测数据功能模块 --- src/test/kotlin/com/flightfeather/uav/Test.kt | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/test/kotlin/com/flightfeather/uav/Test.kt b/src/test/kotlin/com/flightfeather/uav/Test.kt index 85e68a9..7cd72a9 100644 --- a/src/test/kotlin/com/flightfeather/uav/Test.kt +++ b/src/test/kotlin/com/flightfeather/uav/Test.kt @@ -118,11 +118,10 @@ @Test fun foo16() { - val l = mutableListOf<BigDecimal>().apply { - add(BigDecimal.valueOf(6.23)) - add(BigDecimal("6.23")) - add(BigDecimal(6.23)) + val list = listOf(1, 2, 3, 4, 5, 6) + val iterator = list.iterator().also { it.next() } + iterator.forEach { + println(it) } - l.forEach { println(it) } } } \ No newline at end of file -- Gitblit v1.9.3