swap

fun BooleanArray.swap(lIndex: Int, rIndex: Int)
fun ByteArray.swap(lIndex: Int, rIndex: Int)
fun CharArray.swap(lIndex: Int, rIndex: Int)
fun ShortArray.swap(lIndex: Int, rIndex: Int)
fun IntArray.swap(lIndex: Int, rIndex: Int)
fun LongArray.swap(lIndex: Int, rIndex: Int)
fun FloatArray.swap(lIndex: Int, rIndex: Int)
fun DoubleArray.swap(lIndex: Int, rIndex: Int)
fun <T> Array<T>.swap(lIndex: Int, rIndex: Int)
fun <T> MutableList<T>.swap(lIndex: Int, rIndex: Int)