kotlin-stdlib / kotlin.collections / MutableListIterator / set set Common JVM JS Native 1.0 abstract fun set(element: T)(Common source) (Native source) Replaces the last element returned by next or previous with the specified element element.