plus
operator
fun
<
T
>
Array
<
T
>
.
plus
(
element
:
T
)
:
Array
<
T
>
(Common source) (JVM source) (Native source)
operator
fun
ByteArray
.
plus
(
element
:
Byte
)
:
ByteArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
ShortArray
.
plus
(
element
:
Short
)
:
ShortArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
IntArray
.
plus
(
element
:
Int
)
:
IntArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
LongArray
.
plus
(
element
:
Long
)
:
LongArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
FloatArray
.
plus
(
element
:
Float
)
:
FloatArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
DoubleArray
.
plus
(
element
:
Double
)
:
DoubleArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
BooleanArray
.
plus
(
element
:
Boolean
)
:
BooleanArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
CharArray
.
plus
(
element
:
Char
)
:
CharArray
(Common source) (JVM source) (JS source) (Native source)
Returns an array containing all elements of the original array and then the given element .
operator
fun
<
T
>
Array
<
T
>
.
plus
(
elements
:
Collection
<
T
>
)
:
Array
<
T
>
(Common source) (JVM source) (Native source)
operator
fun
ByteArray
.
plus
(
elements
:
Collection
<
Byte
>
)
:
ByteArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
ShortArray
.
plus
(
elements
:
Collection
<
Short
>
)
:
ShortArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
IntArray
.
plus
(
elements
:
Collection
<
Int
>
)
:
IntArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
LongArray
.
plus
(
elements
:
Collection
<
Long
>
)
:
LongArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
FloatArray
.
plus
(
elements
:
Collection
<
Float
>
)
:
FloatArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
DoubleArray
.
plus
(
elements
:
Collection
<
Double
>
)
:
DoubleArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
BooleanArray
.
plus
(
elements
:
Collection
<
Boolean
>
)
:
BooleanArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
CharArray
.
plus
(
elements
:
Collection
<
Char
>
)
:
CharArray
(Common source) (JVM source) (JS source) (Native source)
Returns an array containing all elements of the original array and then all elements of the given elements collection.
operator
fun
<
T
>
Array
<
T
>
.
plus
(
elements
:
Array
<
out
T
>
)
:
Array
<
T
>
(Common source) (JVM source) (Native source)
operator
fun
ByteArray
.
plus
(
elements
:
ByteArray
)
:
ByteArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
ShortArray
.
plus
(
elements
:
ShortArray
)
:
ShortArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
IntArray
.
plus
(
elements
:
IntArray
)
:
IntArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
LongArray
.
plus
(
elements
:
LongArray
)
:
LongArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
FloatArray
.
plus
(
elements
:
FloatArray
)
:
FloatArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
DoubleArray
.
plus
(
elements
:
DoubleArray
)
:
DoubleArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
BooleanArray
.
plus
(
elements
:
BooleanArray
)
:
BooleanArray
(Common source) (JVM source) (JS source) (Native source)
operator
fun
CharArray
.
plus
(
elements
:
CharArray
)
:
CharArray
(Common source) (JVM source) (JS source) (Native source)
Returns an array containing all elements of the original array and then all elements of the given elements array.
Returns a list containing all elements of the original collection and then all elements of the given elements array.
Returns a list containing all elements of the original collection and then all elements of the given elements collection.
Returns a list containing all elements of the original collection and then all elements of the given elements sequence.
Returns 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.
Returns 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.
Returns 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.
Returns 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.
@ExperimentalUnsignedTypes
operator
fun
UShortArray
.
plus
(
element
:
UShort
)
:
UShortArray
(source)
Returns an array containing all elements of the original array and then the given element .
@ExperimentalUnsignedTypes
operator
fun
UIntArray
.
plus
(
elements
:
Collection
<
UInt
>
)
:
UIntArray
(source)
@ExperimentalUnsignedTypes
operator
fun
ULongArray
.
plus
(
elements
:
Collection
<
ULong
>
)
:
ULongArray
(source)
@ExperimentalUnsignedTypes
operator
fun
UByteArray
.
plus
(
elements
:
Collection
<
UByte
>
)
:
UByteArray
(source)
@ExperimentalUnsignedTypes
operator
fun
UShortArray
.
plus
(
elements
:
Collection
<
UShort
>
)
:
UShortArray
(source)
Returns an array containing all elements of the original array and then all elements of the given elements collection.
@ExperimentalUnsignedTypes
operator
fun
ULongArray
.
plus
(
elements
:
ULongArray
)
:
ULongArray
(source)
@ExperimentalUnsignedTypes
operator
fun
UByteArray
.
plus
(
elements
:
UByteArray
)
:
UByteArray
(source)
@ExperimentalUnsignedTypes
operator
fun
UShortArray
.
plus
(
elements
:
UShortArray
)
:
UShortArray
(source)
Returns an array containing all elements of the original array and then all elements of the given elements array.