@JvmName("sumOfDouble") inline fun <T> Array<out T>.sumOf( selector: (T) -> Double ): Double
@JvmName("sumOfDouble") inline fun ByteArray.sumOf( selector: (Byte) -> Double ): Double
@JvmName("sumOfDouble") inline fun ShortArray.sumOf( selector: (Short) -> Double ): Double
@JvmName("sumOfDouble") inline fun IntArray.sumOf( selector: (Int) -> Double ): Double
@JvmName("sumOfDouble") inline fun LongArray.sumOf( selector: (Long) -> Double ): Double
@JvmName("sumOfDouble") inline fun FloatArray.sumOf( selector: (Float) -> Double ): Double
@JvmName("sumOfDouble") inline fun DoubleArray.sumOf( selector: (Double) -> Double ): Double
@JvmName("sumOfDouble") inline fun BooleanArray.sumOf( selector: (Boolean) -> Double ): Double
@JvmName("sumOfDouble") inline fun CharArray.sumOf( selector: (Char) -> Double ): Double
@JvmName("sumOfInt") inline fun <T> Array<out T>.sumOf( selector: (T) -> Int ): Int
@JvmName("sumOfInt") inline fun ByteArray.sumOf( selector: (Byte) -> Int ): Int
@JvmName("sumOfInt") inline fun ShortArray.sumOf( selector: (Short) -> Int ): Int
@JvmName("sumOfInt") inline fun IntArray.sumOf( selector: (Int) -> Int ): Int
@JvmName("sumOfInt") inline fun LongArray.sumOf( selector: (Long) -> Int ): Int
@JvmName("sumOfInt") inline fun FloatArray.sumOf( selector: (Float) -> Int ): Int
@JvmName("sumOfInt") inline fun DoubleArray.sumOf( selector: (Double) -> Int ): Int
@JvmName("sumOfInt") inline fun BooleanArray.sumOf( selector: (Boolean) -> Int ): Int
@JvmName("sumOfInt") inline fun CharArray.sumOf( selector: (Char) -> Int ): Int
@JvmName("sumOfLong") inline fun <T> Array<out T>.sumOf( selector: (T) -> Long ): Long
@JvmName("sumOfLong") inline fun ByteArray.sumOf( selector: (Byte) -> Long ): Long
@JvmName("sumOfLong") inline fun ShortArray.sumOf( selector: (Short) -> Long ): Long
@JvmName("sumOfLong") inline fun IntArray.sumOf( selector: (Int) -> Long ): Long
@JvmName("sumOfLong") inline fun LongArray.sumOf( selector: (Long) -> Long ): Long
@JvmName("sumOfLong") inline fun FloatArray.sumOf( selector: (Float) -> Long ): Long
@JvmName("sumOfLong") inline fun DoubleArray.sumOf( selector: (Double) -> Long ): Long
@JvmName("sumOfLong") inline fun BooleanArray.sumOf( selector: (Boolean) -> Long ): Long
@JvmName("sumOfLong") inline fun CharArray.sumOf( selector: (Char) -> Long ): Long
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun <T> Array<out T>.sumOf( selector: (T) -> UInt ): UInt
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun ByteArray.sumOf( selector: (Byte) -> UInt ): UInt
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun ShortArray.sumOf( selector: (Short) -> UInt ): UInt
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun IntArray.sumOf( selector: (Int) -> UInt ): UInt
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun LongArray.sumOf( selector: (Long) -> UInt ): UInt
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun FloatArray.sumOf( selector: (Float) -> UInt ): UInt
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun DoubleArray.sumOf( selector: (Double) -> UInt ): UInt
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun BooleanArray.sumOf( selector: (Boolean) -> UInt ): UInt
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun CharArray.sumOf( selector: (Char) -> UInt ): UInt
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun <T> Array<out T>.sumOf( selector: (T) -> ULong ): ULong
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun ByteArray.sumOf( selector: (Byte) -> ULong ): ULong
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun ShortArray.sumOf( selector: (Short) -> ULong ): ULong
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun IntArray.sumOf( selector: (Int) -> ULong ): ULong
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun LongArray.sumOf( selector: (Long) -> ULong ): ULong
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun FloatArray.sumOf( selector: (Float) -> ULong ): ULong
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun DoubleArray.sumOf( selector: (Double) -> ULong ): ULong
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun BooleanArray.sumOf( selector: (Boolean) -> ULong ): ULong
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun CharArray.sumOf( selector: (Char) -> ULong ): ULong
@JvmName("sumOfDouble") @ExperimentalUnsignedTypes inline fun UIntArray.sumOf( selector: (UInt) -> Double ): Double
@JvmName("sumOfDouble") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf( selector: (ULong) -> Double ): Double
@JvmName("sumOfDouble") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf( selector: (UByte) -> Double ): Double
@JvmName("sumOfDouble") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf( selector: (UShort) -> Double ): Double
@JvmName("sumOfInt") @ExperimentalUnsignedTypes inline fun UIntArray.sumOf( selector: (UInt) -> Int ): Int
@JvmName("sumOfInt") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf( selector: (ULong) -> Int ): Int
@JvmName("sumOfInt") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf( selector: (UByte) -> Int ): Int
@JvmName("sumOfInt") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf( selector: (UShort) -> Int ): Int
@JvmName("sumOfLong") @ExperimentalUnsignedTypes inline fun UIntArray.sumOf( selector: (UInt) -> Long ): Long
@JvmName("sumOfLong") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf( selector: (ULong) -> Long ): Long
@JvmName("sumOfLong") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf( selector: (UByte) -> Long ): Long
@JvmName("sumOfLong") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf( selector: (UShort) -> Long ): Long
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun UIntArray.sumOf( selector: (UInt) -> UInt ): UInt
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf( selector: (ULong) -> UInt ): UInt
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf( selector: (UByte) -> UInt ): UInt
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf( selector: (UShort) -> UInt ): UInt
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun UIntArray.sumOf( selector: (UInt) -> ULong ): ULong
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf( selector: (ULong) -> ULong ): ULong
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf( selector: (UByte) -> ULong ): ULong
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf( selector: (UShort) -> ULong ): ULong
@JvmName("sumOfBigDecimal") inline fun <T> Array<out T>.sumOf( selector: (T) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigDecimal") inline fun ByteArray.sumOf( selector: (Byte) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigDecimal") inline fun ShortArray.sumOf( selector: (Short) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigDecimal") inline fun IntArray.sumOf( selector: (Int) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigDecimal") inline fun LongArray.sumOf( selector: (Long) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigDecimal") inline fun FloatArray.sumOf( selector: (Float) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigDecimal") inline fun DoubleArray.sumOf( selector: (Double) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigDecimal") inline fun BooleanArray.sumOf( selector: (Boolean) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigDecimal") inline fun CharArray.sumOf( selector: (Char) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigInteger") inline fun <T> Array<out T>.sumOf( selector: (T) -> BigInteger ): BigInteger
@JvmName("sumOfBigInteger") inline fun ByteArray.sumOf( selector: (Byte) -> BigInteger ): BigInteger
@JvmName("sumOfBigInteger") inline fun ShortArray.sumOf( selector: (Short) -> BigInteger ): BigInteger
@JvmName("sumOfBigInteger") inline fun IntArray.sumOf( selector: (Int) -> BigInteger ): BigInteger
@JvmName("sumOfBigInteger") inline fun LongArray.sumOf( selector: (Long) -> BigInteger ): BigInteger
@JvmName("sumOfBigInteger") inline fun FloatArray.sumOf( selector: (Float) -> BigInteger ): BigInteger
@JvmName("sumOfBigInteger") inline fun DoubleArray.sumOf( selector: (Double) -> BigInteger ): BigInteger
@JvmName("sumOfBigInteger") inline fun BooleanArray.sumOf( selector: (Boolean) -> BigInteger ): BigInteger
@JvmName("sumOfBigInteger") inline fun CharArray.sumOf( selector: (Char) -> BigInteger ): BigInteger
@JvmName("sumOfBigDecimal") @ExperimentalUnsignedTypes inline fun UIntArray.sumOf( selector: (UInt) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigDecimal") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf( selector: (ULong) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigDecimal") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf( selector: (UByte) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigDecimal") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf( selector: (UShort) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigInteger") @ExperimentalUnsignedTypes inline fun UIntArray.sumOf( selector: (UInt) -> BigInteger ): BigInteger
@JvmName("sumOfBigInteger") @ExperimentalUnsignedTypes inline fun ULongArray.sumOf( selector: (ULong) -> BigInteger ): BigInteger
@JvmName("sumOfBigInteger") @ExperimentalUnsignedTypes inline fun UByteArray.sumOf( selector: (UByte) -> BigInteger ): BigInteger
@JvmName("sumOfBigInteger") @ExperimentalUnsignedTypes inline fun UShortArray.sumOf( selector: (UShort) -> BigInteger ): BigInteger
Returns the sum of all values produced by selector function applied to each element in the array.
@JvmName("sumOfDouble") inline fun <T> Iterable<T>.sumOf( selector: (T) -> Double ): Double
@JvmName("sumOfInt") inline fun <T> Iterable<T>.sumOf( selector: (T) -> Int ): Int
@JvmName("sumOfLong") inline fun <T> Iterable<T>.sumOf( selector: (T) -> Long ): Long
@JvmName("sumOfUInt") @ExperimentalUnsignedTypes inline fun <T> Iterable<T>.sumOf( selector: (T) -> UInt ): UInt
@JvmName("sumOfULong") @ExperimentalUnsignedTypes inline fun <T> Iterable<T>.sumOf( selector: (T) -> ULong ): ULong
@JvmName("sumOfBigDecimal") inline fun <T> Iterable<T>.sumOf( selector: (T) -> BigDecimal ): BigDecimal
@JvmName("sumOfBigInteger") inline fun <T> Iterable<T>.sumOf( selector: (T) -> BigInteger ): BigInteger
Returns the sum of all values produced by selector function applied to each element in the collection.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/sum-of.html