@_a_akira AAkira CyberAgent, Inc. Akira Aratani private lateinit var aakira : User data class User(val name: String, val twitterId: String, val githubId: String, val company: String) print("Name : ${aakira.name}”) println("Github Id : ${aakira.githubId}") print("Twitter Id : ${aakira.twitterId}") println("Company : ${aakira.company}") $ whois
Unit, Nothing, void Nothing has no instances. You can use Nothing to represent "a value that never exists”: for example, if a function has the return type of Nothing, it means that it never returns (always throws an exception). Nothing
Collections @NotNull public static final List foo() { return CollectionsKt.listOf(Integer.valueOf(1)); } @NotNull public static final List bar() { return CollectionsKt.mutableListOf( new Integer[]{Integer.valueOf(1)}); }
Collections @NotNull public static final List foo() { return CollectionsKt.listOf(Integer.valueOf(1)); } @NotNull public static final List bar() { return CollectionsKt.mutableListOf( new Integer[]{Integer.valueOf(1)}); }