test.K1.kt Maven / Gradle / Ivy
The newest version!
package test
import cn.hutool.core.lang.caller.CallerUtil
import cn.hutool.core.util.StrUtil
import com.jchanghong.log.kInfo
import java.util.concurrent.Executors
import kotlin.random.Random
class K1 {
fun t1(): Unit {
kInfo("sasasa")
}
}
fun hello(): String {
println(CallerUtil.getCaller().name)
println(CallerUtil.getCallerCaller().name)
return "from k1"
}
fun main() {
val apply = arrayOf("sasa", "sasa","33","111","556").apply { shuffle(Random(100000)) }
println(apply.joinToString())
val string: String? = "1"
println(string.toBoolean())
"".kInfo("sasa")
println(CallerUtil.getCaller().name)
println(CallerUtil.getCallerCaller().name)
hello()
K1().t1()
}