set

fun <T, ListType : MutableList<T>> ListType.set(item: T, index: Int): T