companion object
if (elements != null) { for (element in elements) { // ... } }
class A(val x: Int) fun foo(x: Int) { ... } fun bar() { foo(1) }
foo.bar().filter { it > 2 }.joinToString() foo?.bar()
// 주석을 추가한다.
val isEmpty: Boolean get() = size == 0
val foo: String get() { /*...*/ }
private val defaultCharset: Charset? = EncodingRegistry.getInstance().getDefaultCharsetForPropertiesFiles(file)
There was an error while loading. Please reload this page.