GraphMine

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

Extensions for kotlin.CharArray

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