How to handle nullable types in generic class

后端 未结 0 713
情深已故
情深已故 2021-02-06 05:16

I want to write a Promise class in kotlin. This class uses a generic type. The type can also be a nullable type. When I call the consumer, the value can be null, if the genereic

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