W3cubDocs

/Kotlin

contentHashCode

Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)
@DeprecatedSinceKotlin("1.4") fun <T> Array<out T>.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)
@DeprecatedSinceKotlin("1.4") fun ByteArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)
@DeprecatedSinceKotlin("1.4") fun ShortArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)
@DeprecatedSinceKotlin("1.4") fun IntArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)
@DeprecatedSinceKotlin("1.4") fun LongArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)
@DeprecatedSinceKotlin("1.4") fun FloatArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)
@DeprecatedSinceKotlin("1.4") fun DoubleArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)
@DeprecatedSinceKotlin("1.4") fun BooleanArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)
@DeprecatedSinceKotlin("1.4") fun CharArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Platform and version requirements: JS (1.4), Native (1.4)
fun <T> Array<out T>?.contentHashCode(): Int
Platform and version requirements: JVM (1.4)
@JvmName("contentHashCodeNullable") fun <T> Array<out T>?.contentHashCode(): Int
Platform and version requirements: JS (1.4), Native (1.4)
fun ByteArray?.contentHashCode(): Int
Platform and version requirements: JVM (1.4)
@JvmName("contentHashCodeNullable") fun ByteArray?.contentHashCode(): Int
Platform and version requirements: JS (1.4), Native (1.4)
fun ShortArray?.contentHashCode(): Int
Platform and version requirements: JVM (1.4)
@JvmName("contentHashCodeNullable") fun ShortArray?.contentHashCode(): Int
Platform and version requirements: JS (1.4), Native (1.4)
fun IntArray?.contentHashCode(): Int
Platform and version requirements: JVM (1.4)
@JvmName("contentHashCodeNullable") fun IntArray?.contentHashCode(): Int
Platform and version requirements: JS (1.4), Native (1.4)
fun LongArray?.contentHashCode(): Int
Platform and version requirements: JVM (1.4)
@JvmName("contentHashCodeNullable") fun LongArray?.contentHashCode(): Int
Platform and version requirements: JS (1.4), Native (1.4)
fun FloatArray?.contentHashCode(): Int
Platform and version requirements: JVM (1.4)
@JvmName("contentHashCodeNullable") fun FloatArray?.contentHashCode(): Int
Platform and version requirements: JS (1.4), Native (1.4)
fun DoubleArray?.contentHashCode(): Int
Platform and version requirements: JVM (1.4)
@JvmName("contentHashCodeNullable") fun DoubleArray?.contentHashCode(): Int
Platform and version requirements: JS (1.4), Native (1.4)
fun BooleanArray?.contentHashCode(): Int
Platform and version requirements: JVM (1.4)
@JvmName("contentHashCodeNullable") fun BooleanArray?.contentHashCode(): Int
Platform and version requirements: JS (1.4), Native (1.4)
fun CharArray?.contentHashCode(): Int
Platform and version requirements: JVM (1.4)
@JvmName("contentHashCodeNullable") fun CharArray?.contentHashCode(): Int

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

Platform and version requirements: JVM (1.3), JS (1.3), Native (1.3)
@DeprecatedSinceKotlin("1.4") @ExperimentalUnsignedTypes fun UIntArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
@DeprecatedSinceKotlin("1.4") @ExperimentalUnsignedTypes fun ULongArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
@DeprecatedSinceKotlin("1.4") @ExperimentalUnsignedTypes fun UByteArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
@DeprecatedSinceKotlin("1.4") @ExperimentalUnsignedTypes fun UShortArray.contentHashCode(): Int
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
@ExperimentalUnsignedTypes fun UIntArray?.contentHashCode(): Int
@ExperimentalUnsignedTypes fun ULongArray?.contentHashCode(): Int
@ExperimentalUnsignedTypes fun UByteArray?.contentHashCode(): Int
@ExperimentalUnsignedTypes fun UShortArray?.contentHashCode(): Int

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

© 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/content-hash-code.html