rightAlign

fun <T : Comparable<T>> MutableList<T>.rightAlign(element: T)

Given a list of Comparable elements, bring all instances of a given value in the list to the right side of the array.

Receiver

MutableList

Parameters

element

T