kotlin的List,Map,Set等集合类不指定类型

Map<*, *>
List<*>
Set<*>

需要用*号表示,Any不行。

猜你喜欢

转载自blog.csdn.net/xlk_1996/article/details/126025030