open class CollectionUtil
Static utilities for collections
CollectionUtil()
Static utilities for collections |
open static fun <T : Any!> concatList(vararg newItems: T): MutableList<T>! open static fun <T : Any!> concatList(collection: MutableCollection<T>!, vararg newItems: T): MutableList<T>!
Create a new list, add the collection, then add the newItems. The original collection is not modified. Only non-null newItems are added. |