plus
operator fun ShortArray.plus(element: Short): ShortArrayoperator fun FloatArray.plus(element: Float): FloatArrayoperator fun DoubleArray.plus(element: Double): DoubleArrayoperator fun BooleanArray.plus(
element: Boolean
): BooleanArrayReturns 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>operator fun <T> Array<out T>.plus(
elements: Collection<T>
): Array<T>operator fun ByteArray.plus(
elements: Collection<Byte>
): ByteArrayoperator fun ShortArray.plus(
elements: Collection<Short>
): ShortArrayoperator fun IntArray.plus(
elements: Collection<Int>
): IntArrayoperator fun LongArray.plus(
elements: Collection<Long>
): LongArrayoperator fun FloatArray.plus(
elements: Collection<Float>
): FloatArrayoperator fun DoubleArray.plus(
elements: Collection<Double>
): DoubleArrayoperator fun BooleanArray.plus(
elements: Collection<Boolean>
): BooleanArrayoperator fun CharArray.plus(
elements: Collection<Char>
): CharArrayReturns an array containing all elements of the original array and then all elements of the given elements collection.
operator fun ShortArray.plus(
elements: ShortArray
): ShortArrayoperator fun FloatArray.plus(
elements: FloatArray
): FloatArrayoperator fun DoubleArray.plus(
elements: DoubleArray
): DoubleArrayoperator fun BooleanArray.plus(
elements: BooleanArray
): BooleanArrayReturns an array containing all elements of the original array and then all elements of the given elements array.
operator fun <T> Collection<T>.plus(element: T): List<T>Returns a list containing all elements of the original collection and then the given element.
operator fun <T> Collection<T>.plus(
elements: Array<out T>
): List<T>Returns a list containing all elements of the original collection and then all elements of the given elements array.
operator fun <T> Collection<T>.plus(
elements: Iterable<T>
): List<T>Returns a list containing all elements of the original collection and then all elements of the given elements collection.
operator fun <T> Collection<T>.plus(
elements: Sequence<T>
): List<T>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 ULongArray.plus(
element: ULong
): ULongArray@ExperimentalUnsignedTypes operator fun UByteArray.plus(
element: UByte
): UByteArray@ExperimentalUnsignedTypes operator fun UShortArray.plus(
element: UShort
): UShortArrayReturns an array containing all elements of the original array and then the given element.
@ExperimentalUnsignedTypes operator fun UIntArray.plus(
elements: Collection<UInt>
): UIntArray@ExperimentalUnsignedTypes operator fun ULongArray.plus(
elements: Collection<ULong>
): ULongArray@ExperimentalUnsignedTypes operator fun UByteArray.plus(
elements: Collection<UByte>
): UByteArray@ExperimentalUnsignedTypes operator fun UShortArray.plus(
elements: Collection<UShort>
): UShortArrayReturns 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@ExperimentalUnsignedTypes operator fun UByteArray.plus(
elements: UByteArray
): UByteArray@ExperimentalUnsignedTypes operator fun UShortArray.plus(
elements: UShortArray
): UShortArrayReturns an array containing all elements of the original array and then all elements of the given elements array.