map

inline fun <T> List<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 list.


inline fun <T> List<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 list.


inline fun <T> List<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 list.


inline fun <T> List<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 list.


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


inline fun <R> IntList.map(transform: (Int) -> R): List<R>(source)

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


inline fun <R> LongList.map(transform: (Long) -> R): List<R>(source)

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


inline fun <R> FloatList.map(transform: (Float) -> R): List<R>(source)

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


inline fun <R> DoubleList.map(transform: (Double) -> R): List<R>(source)

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