摘要:
In Kotlin, there is no static methods, but we can use companion object which works the same as static methods. For example, a class: package com.rsk i 阅读全文
posted @ 2020-10-15 18:30
Zhentiw
阅读(149)
评论(0)
推荐(0)
摘要:
First version: fun main(args: Array<String>) { val providers = Providers() val details = providers.getAllProviders() details.forEach { detail -> print 阅读全文
posted @ 2020-10-15 00:08
Zhentiw
阅读(120)
评论(0)
推荐(0)

浙公网安备 33010602011771号