map

inline fun IntArray.map(transform: (Int) -> Int): IntList(source)

Returns a IntList containing the results of applying the given transform function to each element in the original array.


inline fun LongArray.map(transform: (Long) -> Long): LongList(source)

Returns a LongList containing the results of applying the given transform function to each element in the original array.


inline fun FloatArray.map(transform: (Float) -> Float): FloatList(source)

Returns a FloatList containing the results of applying the given transform function to each element in the original array.


inline fun DoubleArray.map(transform: (Double) -> Double): DoubleList(source)

Returns a DoubleList containing the results of applying the given transform function to each element in the original array.


inline fun IntArray.map(transform: (Int) -> Long): LongList(source)

Returns a LongList containing the results of applying the given transform function to each element in the original IntArray.


inline fun IntArray.map(transform: (Int) -> Float): FloatList(source)

Returns a FloatList containing the results of applying the given transform function to each element in the original IntArray.


inline fun IntArray.map(transform: (Int) -> Double): DoubleList(source)

Returns a DoubleList containing the results of applying the given transform function to each element in the original IntArray.


inline fun LongArray.map(transform: (Long) -> Int): IntList(source)

Returns a IntList containing the results of applying the given transform function to each element in the original LongArray.


inline fun LongArray.map(transform: (Long) -> Float): FloatList(source)

Returns a FloatList containing the results of applying the given transform function to each element in the original LongArray.


inline fun LongArray.map(transform: (Long) -> Double): DoubleList(source)

Returns a DoubleList containing the results of applying the given transform function to each element in the original LongArray.


inline fun FloatArray.map(transform: (Float) -> Int): IntList(source)

Returns a IntList containing the results of applying the given transform function to each element in the original FloatArray.


inline fun FloatArray.map(transform: (Float) -> Long): LongList(source)

Returns a LongList containing the results of applying the given transform function to each element in the original FloatArray.


inline fun FloatArray.map(transform: (Float) -> Double): DoubleList(source)

Returns a DoubleList containing the results of applying the given transform function to each element in the original FloatArray.


inline fun DoubleArray.map(transform: (Double) -> Int): IntList(source)

Returns a IntList containing the results of applying the given transform function to each element in the original DoubleArray.


inline fun DoubleArray.map(transform: (Double) -> Long): LongList(source)

Returns a LongList containing the results of applying the given transform function to each element in the original DoubleArray.


inline fun DoubleArray.map(transform: (Double) -> Float): FloatList(source)

Returns a FloatList containing the results of applying the given transform function to each element in the original DoubleArray.


inline fun <T> Array<T>.map(transform: (T) -> Int): IntList(source)

Returns a IntList containing the results of applying the given transform function to each element in the original Array.


inline fun <T> Array<T>.map(transform: (T) -> Long): LongList(source)

Returns a LongList containing the results of applying the given transform function to each element in the original Array.


inline fun <T> Array<T>.map(transform: (T) -> Float): FloatList(source)

Returns a FloatList containing the results of applying the given transform function to each element in the original Array.


inline fun <T> Array<T>.map(transform: (T) -> Double): DoubleList(source)

Returns a DoubleList containing the results of applying the given transform function to each element in the original Array.