replaceAll

fun replaceAll(operator: UnaryOperator<T>)

Replaces each element of this list with the result of applying the operator to that element.

Parameters

operator

The operator to apply to each element.