GraphMine

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

Extensions for kotlin.ShortArray

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