关于List的[]或者[null]

List的值显示

一、[]

这样显示应判断List的size()==0,返回true

二、[null]

这样显示应判断List.contains(null),返回true

猜你喜欢

转载自blog.csdn.net/p474391654/article/details/74743967