GraphMine

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

Extensions for kotlin.BooleanArray

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