GraphMine

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

Extensions for kotlin.ByteArray

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