A set of attribute values injection

First, the set of injection, when assembling the bean, is added when the bean in xml

1, List collection

 

 2, set set, unordered, i.e. no index, so it is not repeated,

 

 3, map key-value key-set double row, built-in interface Entry

 

 4, Properties collection, and IO streams can be combined to read and write the file set;

 

 5, an array of injection

 

Guess you like

Origin www.cnblogs.com/wmqiang/p/11564776.html