Kotlin and Double lazy properties

后端 未结 0 1715
情书的邮戳
情书的邮戳 2021-02-20 15:52

I tried to use lazy properties for my classes but failed to use it for specific types, for example, Double:

class Product(val name:String) {
    val currentDiscou         


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