GraphMine

graphmine-util / io.github.sof3.graphmine.util / kotlin.IntArray

Extensions for kotlin.IntArray

mapArray fun <R> IntArray.mapArray(transform: (Int) -> R): Array<R>
Returns an array containing the results of applying the given transform function to each element in the original array
mapBooleanArray fun IntArray.mapBooleanArray(transform: (Int) -> Boolean): BooleanArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapByteArray fun IntArray.mapByteArray(transform: (Int) -> Byte): ByteArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapCharArray fun IntArray.mapCharArray(transform: (Int) -> Char): CharArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapDoubleArray fun IntArray.mapDoubleArray(transform: (Int) -> Double): DoubleArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapFloatArray fun IntArray.mapFloatArray(transform: (Int) -> Float): FloatArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapIntArray fun IntArray.mapIntArray(transform: (Int) -> Int): IntArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapLongArray fun IntArray.mapLongArray(transform: (Int) -> Long): LongArray
Returns an array containing the results of applying the given transform function to each element in the original array
mapShortArray fun IntArray.mapShortArray(transform: (Int) -> Short): ShortArray
Returns an array containing the results of applying the given transform function to each element in the original array