kotlin-stdlib / kotlin.collections / ArrayDeque / set set Common JVM JS Native 1.0 fun set ( index : Int , element : E ) : E (source)