How can I write list in class format [Java]

后端 未结 0 768
南笙
南笙 2021-02-01 15:09

I tried to add class format for list in 2 ways below but it doesn\'t work.

nullable((Class>) new ArrayList().getClass())

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