How can you inject Java Collection in Spring?How can you inject Java Collection in Spring?: injecting a list of values, 允许重复. : This helps in wiring a set of values 不允许重复. : name-value pairs where name and value can be of any type. :name-value pairs where the name and value are both Strings.