contentHashCode

fun UIntArray.contentHashCode(): Int
fun ULongArray.contentHashCode(): Int
fun UByteArray.contentHashCode(): Int
fun UShortArray.contentHashCode(): Int

Returns a hash code based on the contents of this array as if it is List.

Since Kotlin

1.3

fun UIntArray?.contentHashCode(): Int
fun ULongArray?.contentHashCode(): Int
fun UByteArray?.contentHashCode(): Int
fun UShortArray?.contentHashCode(): Int
expect fun <T> Array<out T>?.contentHashCode(): Int
expect fun ByteArray?.contentHashCode(): Int
expect fun ShortArray?.contentHashCode(): Int
expect fun IntArray?.contentHashCode(): Int
expect fun LongArray?.contentHashCode(): Int
expect fun FloatArray?.contentHashCode(): Int
expect fun DoubleArray?.contentHashCode(): Int
expect fun BooleanArray?.contentHashCode(): Int
expect fun CharArray?.contentHashCode(): Int

Returns a hash code based on the contents of this array as if it is List.

Since Kotlin

1.4

@DeprecatedSinceKotlin(hiddenSince = "1.4")
expect fun <T> Array<out T>.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
expect fun ByteArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
expect fun ShortArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
expect fun IntArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
expect fun LongArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
expect fun FloatArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
expect fun DoubleArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
expect fun BooleanArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
expect fun CharArray.contentHashCode(): Int

Returns a hash code based on the contents of this array as if it is List.

Since Kotlin

1.1
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual inline fun <T> Array<out T>.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual inline fun ByteArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual inline fun ShortArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual inline fun IntArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual inline fun LongArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual inline fun FloatArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual inline fun DoubleArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual inline fun BooleanArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual inline fun CharArray.contentHashCode(): Int

Returns a hash code based on the contents of this array as if it is List.

Since Kotlin

1.1

@JvmName(name = "contentHashCodeNullable")
actual inline fun <T> Array<out T>?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
actual inline fun ByteArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
actual inline fun ShortArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
actual inline fun IntArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
actual inline fun LongArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
actual inline fun FloatArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
actual inline fun DoubleArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
actual inline fun BooleanArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
actual inline fun CharArray?.contentHashCode(): Int

Returns a hash code based on the contents of this array as if it is List.

Since Kotlin

1.4
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun <T> Array<out T>.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun ByteArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun ShortArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun IntArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun LongArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun FloatArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun DoubleArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun BooleanArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun CharArray.contentHashCode(): Int

Returns a hash code based on the contents of this array as if it is List.

Since Kotlin

1.1

actual fun <T> Array<out T>?.contentHashCode(): Int
actual fun ByteArray?.contentHashCode(): Int
actual fun ShortArray?.contentHashCode(): Int
actual fun IntArray?.contentHashCode(): Int
actual fun LongArray?.contentHashCode(): Int
actual fun FloatArray?.contentHashCode(): Int
actual fun DoubleArray?.contentHashCode(): Int
actual fun BooleanArray?.contentHashCode(): Int
actual fun CharArray?.contentHashCode(): Int

Returns a hash code based on the contents of this array as if it is List.

Since Kotlin

1.4
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun <T> Array<out T>.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun ByteArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun ShortArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun IntArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun LongArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun FloatArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun DoubleArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun BooleanArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
actual fun CharArray.contentHashCode(): Int

Returns a hash code based on the contents of this array as if it is List.

Since Kotlin

1.1

actual fun <T> Array<out T>?.contentHashCode(): Int
actual fun ByteArray?.contentHashCode(): Int
actual fun ShortArray?.contentHashCode(): Int
actual fun IntArray?.contentHashCode(): Int
actual fun LongArray?.contentHashCode(): Int
actual fun FloatArray?.contentHashCode(): Int
actual fun DoubleArray?.contentHashCode(): Int
actual fun BooleanArray?.contentHashCode(): Int
actual fun CharArray?.contentHashCode(): Int

Returns a hash code based on the contents of this array as if it is List.

Since Kotlin

1.4