spring-framework / org.springframework.util / CollectionUtils / mergeArrayIntoCollection

mergeArrayIntoCollection

open static fun <E : Any> mergeArrayIntoCollection(@Nullable array: Any, collection: MutableCollection<E>): Unit

Merge the given array into the given Collection.

Parameters

array - the array to merge (may be null)

collection - the target Collection to merge the array into