operator fun <T> Array<out T>.component4(): T
operator fun ByteArray.component4(): Byte
operator fun ShortArray.component4(): Short
operator fun IntArray.component4(): Int
operator fun LongArray.component4(): Long
operator fun FloatArray.component4(): Float
operator fun DoubleArray.component4(): Double
operator fun BooleanArray.component4(): Boolean
operator fun CharArray.component4(): Char
@ExperimentalUnsignedTypes operator fun UIntArray.component4(): UInt
@ExperimentalUnsignedTypes operator fun ULongArray.component4(): ULong
@ExperimentalUnsignedTypes operator fun UByteArray.component4(): UByte
@ExperimentalUnsignedTypes operator fun UShortArray.component4(): UShort
Returns 4th element from the array.
If the size of this array is less than 4, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.
operator fun <T> List<T>.component4(): T
Returns 4th element from the list.
Throws an IndexOutOfBoundsException if the size of this list is less than 4.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/component4.html