fill
Fills this array or its subrange with the specified element value.
Since Kotlin
1.3Parameters
the start of the range (inclusive) to fill, 0 by default.
the end of the range (exclusive) to fill, size of this array by default.
Throws
Fills the list with the provided value.
Each element in the list gets replaced with the value.
Since Kotlin
1.2Fills this array or its subrange with the specified element value.
Since Kotlin
1.3Parameters
the start of the range (inclusive) to fill, 0 by default.
the end of the range (exclusive) to fill, size of this array by default.
Throws
Fills the list with the provided value.
Each element in the list gets replaced with the value.
Since Kotlin
1.2Fills this array or its subrange with the specified element value.
Since Kotlin
1.0Parameters
the start of the range (inclusive) to fill, 0 by default.
the end of the range (exclusive) to fill, size of this array by default.
Throws
Fills the list with the provided value.
Each element in the list gets replaced with the value.
Since Kotlin
1.2Fills this array or its subrange with the specified element value.
Since Kotlin
1.3Parameters
the start of the range (inclusive) to fill, 0 by default.
the end of the range (exclusive) to fill, size of this array by default.
Throws
Fills the list with the provided value.
Each element in the list gets replaced with the value.
Since Kotlin
1.3Fills this array or its subrange with the specified element value.
Since Kotlin
1.8Parameters
the start of the range (inclusive) to fill, 0 by default.
the end of the range (exclusive) to fill, size of this array by default.
Throws
Fills the list with the provided value.
Each element in the list gets replaced with the value.
Since Kotlin
1.8Fills this array or its subrange with the specified element value.
Since Kotlin
1.8Parameters
the start of the range (inclusive) to fill, 0 by default.
the end of the range (exclusive) to fill, size of this array by default.
Throws
Fills the list with the provided value.
Each element in the list gets replaced with the value.