W3cubDocs

/Kotlin

set

abstract fun set(element: T)

Replaces the last element returned by next or previous with the specified element element.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list-iterator/set.html