plus
Returns an array containing all elements of the original array and then the given element.
Since Kotlin
1.0Returns an array containing all elements of the original array and then all elements of the given elements collection.
Since Kotlin
1.0Returns an array containing all elements of the original array and then all elements of the given elements array.
Since Kotlin
1.0Returns a list containing all elements of the original collection and then the given element.
Since Kotlin
1.0Returns a list containing all elements of the original collection and then all elements of the given elements array.
Since Kotlin
1.0Returns a list containing all elements of the original collection and then all elements of the given elements collection.
Since Kotlin
1.0Returns a list containing all elements of the original collection and then all elements of the given elements sequence.
Since Kotlin
1.0Returns a set containing all elements of the original set and then the given element if it isn't already in this set.
The returned set preserves the element iteration order of the original set.
Since Kotlin
1.0Returns a set containing all elements of the original set and the given elements array, which aren't already in this set.
The returned set preserves the element iteration order of the original set.
Since Kotlin
1.0Returns a set containing all elements of the original set and the given elements collection, which aren't already in this set. The returned set preserves the element iteration order of the original set.
Since Kotlin
1.0Returns a set containing all elements of the original set and the given elements sequence, which aren't already in this set.
The returned set preserves the element iteration order of the original set.
Since Kotlin
1.0Creates a new read-only map by replacing or adding an entry to this map from a given key-value pair.
The returned map preserves the entry iteration order of the original map. The pair is iterated in the end if it has a unique key.
Since Kotlin
1.0Creates a new read-only map by replacing or adding entries to this map from a given collection of key-value pairs.
The returned map preserves the entry iteration order of the original map. Those pairs with unique keys are iterated in the end in the order of pairs collection.
Since Kotlin
1.0Creates a new read-only map by replacing or adding entries to this map from a given array of key-value pairs.
The returned map preserves the entry iteration order of the original map. Those pairs with unique keys are iterated in the end in the order of pairs array.
Since Kotlin
1.0Creates a new read-only map by replacing or adding entries to this map from a given sequence of key-value pairs.
The returned map preserves the entry iteration order of the original map. Those pairs with unique keys are iterated in the end in the order of pairs sequence.
Since Kotlin
1.0Creates a new read-only map by replacing or adding entries to this map from another map.
The returned map preserves the entry iteration order of the original map. Those entries of another map that are missing in this map are iterated in the end in the order of that map.