contentHashCode

Common
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
Common
fun UIntArray?.contentHashCode(): Int
fun ULongArray?.contentHashCode(): Int
fun UByteArray?.contentHashCode(): Int
fun UShortArray?.contentHashCode(): Int
fun <T> Array<out T>?.contentHashCode(): Int
fun ByteArray?.contentHashCode(): Int
fun ShortArray?.contentHashCode(): Int
fun IntArray?.contentHashCode(): Int
fun LongArray?.contentHashCode(): Int
fun FloatArray?.contentHashCode(): Int
fun DoubleArray?.contentHashCode(): Int
fun BooleanArray?.contentHashCode(): Int
fun CharArray?.contentHashCode(): Int

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

Since Kotlin

1.4
Common
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun <T> Array<out T>.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun ByteArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun ShortArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun IntArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun LongArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun FloatArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun DoubleArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun BooleanArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
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")
inline fun <T> Array<out T>.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
inline fun ByteArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
inline fun ShortArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
inline fun IntArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
inline fun LongArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
inline fun FloatArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
inline fun DoubleArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
inline fun BooleanArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
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
JS
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun <T> Array<out T>.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun ByteArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun ShortArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun IntArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun LongArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun FloatArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun DoubleArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun BooleanArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun CharArray.contentHashCode(): Int

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

Since Kotlin

1.1
Native
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun <T> Array<out T>.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun ByteArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun ShortArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun IntArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun LongArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun FloatArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun DoubleArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
fun BooleanArray.contentHashCode(): Int
@DeprecatedSinceKotlin(hiddenSince = "1.4")
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")
inline fun <T> Array<out T>?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
inline fun ByteArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
inline fun ShortArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
inline fun IntArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
inline fun LongArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
inline fun FloatArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
inline fun DoubleArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
inline fun BooleanArray?.contentHashCode(): Int
@JvmName(name = "contentHashCodeNullable")
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
JS
fun <T> Array<out T>?.contentHashCode(): Int
fun ByteArray?.contentHashCode(): Int
fun ShortArray?.contentHashCode(): Int
fun IntArray?.contentHashCode(): Int
fun LongArray?.contentHashCode(): Int
fun FloatArray?.contentHashCode(): Int
fun DoubleArray?.contentHashCode(): Int
fun BooleanArray?.contentHashCode(): Int
fun CharArray?.contentHashCode(): Int

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

Since Kotlin

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

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

Since Kotlin

1.4