Kotlin: Prevent mixup of same typed parameters

前端 未结 0 1330
孤城傲影
孤城傲影 2020-12-21 19:48

How can I save the cats from being served for dinner?

data class Animal(
    val name: String
)

data class ToDo(
    val toEat: List,
    val t         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题