The "plainList" property is an old style collection, while the "floatList" property has a typed indicated.
“plainList”属性是个旧式风格的集合,而“flodatList”属性有个类型化的说明。
Spring will correctly populate the "floatList" property with floats, rather than Strings, as it is smart enough to realize that it needs to perform the type conversion.
Spring会正确地为“floatList”属性填上浮点数,而不是字符串,因为它能非常聪明地意识到它需要执行类型转换。
应用推荐