kmongo / kotlin.collections / com.mongodb.client.MongoIterable / plus

plus

operator fun <T> MongoIterable<T>.plus(element: T): List<T> (source)

Returns a list containing all elements of the original collection and then the given element.

operator fun <T> MongoIterable<T>.plus(elements: Array<out T>): List<T> (source)

Returns a list containing all elements of the original collection and then all elements of the given elements array.

operator fun <T> MongoIterable<T>.plus(elements: Iterable<T>): List<T> (source)

Returns a list containing all elements of the original collection and then all elements of the given elements collection.

operator fun <T> MongoIterable<T>.plus(elements: Sequence<T>): List<T> (source)

Returns a list containing all elements of the original collection and then all elements of the given elements sequence.