Kotlin 引入了inline class,它是强类型别名。与数据库一起使用时,这很有用。例如, inline class Age(val value: Int) inline class Height(val value: Int)
確定! 回上一頁