GraphMine

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

Extensions for kotlin.LongArray

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