fun <T> MutableList<T>.fill(value: T)
fun <T> Array<T>.fill( element: T, fromIndex: Int = 0, toIndex: Int = size)
fun ByteArray.fill( element: Byte, fromIndex: Int = 0, toIndex: Int = size)
fun ShortArray.fill( element: Short, fromIndex: Int = 0, toIndex: Int = size)
fun IntArray.fill( element: Int, fromIndex: Int = 0, toIndex: Int = size)
fun LongArray.fill( element: Long, fromIndex: Int = 0, toIndex: Int = size)
fun FloatArray.fill( element: Float, fromIndex: Int = 0, toIndex: Int = size)
fun DoubleArray.fill( element: Double, fromIndex: Int = 0, toIndex: Int = size)
fun BooleanArray.fill( element: Boolean, fromIndex: Int = 0, toIndex: Int = size)
fun CharArray.fill( element: Char, fromIndex: Int = 0, toIndex: Int = size)
@ExperimentalUnsignedTypes fun UIntArray.fill( element: UInt, fromIndex: Int = 0, toIndex: Int = size)
@ExperimentalUnsignedTypes fun ULongArray.fill( element: ULong, fromIndex: Int = 0, toIndex: Int = size)
@ExperimentalUnsignedTypes fun UByteArray.fill( element: UByte, fromIndex: Int = 0, toIndex: Int = size)
@ExperimentalUnsignedTypes fun UShortArray.fill( element: UShort, fromIndex: Int = 0, toIndex: Int = size)
Fills original array with the provided value.
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/fill.html