W3cubDocs

/Kotlin

contentEquals

Platform and version requirements: JVM (1.1), JS (1.1), Native (1.1)
@DeprecatedSinceKotlin("1.4") infix fun <T> Array<out T>.contentEquals(
    other: Array<out T>
): Boolean
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") infix fun ByteArray.contentEquals(
    other: ByteArray
): Boolean
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") infix fun ShortArray.contentEquals(
    other: ShortArray
): Boolean
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") infix fun IntArray.contentEquals(
    other: IntArray
): Boolean
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") infix fun LongArray.contentEquals(
    other: LongArray
): Boolean
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") infix fun FloatArray.contentEquals(
    other: FloatArray
): Boolean
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") infix fun DoubleArray.contentEquals(
    other: DoubleArray
): Boolean
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") infix fun BooleanArray.contentEquals(
    other: BooleanArray
): Boolean
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") infix fun CharArray.contentEquals(
    other: CharArray
): Boolean
Deprecated: Use Kotlin compiler 1.4 to avoid deprecation warning.
Platform and version requirements: JS (1.4), Native (1.4)
infix fun <T> Array<out T>?.contentEquals(
    other: Array<out T>?
): Boolean
Platform and version requirements: JVM (1.4)
@JvmName("contentEqualsNullable") infix fun <T> Array<out T>?.contentEquals(
    other: Array<out T>?
): Boolean
Platform and version requirements: JS (1.4), Native (1.4)
infix fun ByteArray?.contentEquals(
    other: ByteArray?
): Boolean
Platform and version requirements: JVM (1.4)
@JvmName("contentEqualsNullable") infix fun ByteArray?.contentEquals(
    other: ByteArray?
): Boolean
Platform and version requirements: JS (1.4), Native (1.4)
infix fun ShortArray?.contentEquals(
    other: ShortArray?
): Boolean
Platform and version requirements: JVM (1.4)
@JvmName("contentEqualsNullable") infix fun ShortArray?.contentEquals(
    other: ShortArray?
): Boolean
Platform and version requirements: JS (1.4), Native (1.4)
infix fun IntArray?.contentEquals(other: IntArray?): Boolean
Platform and version requirements: JVM (1.4)
@JvmName("contentEqualsNullable") infix fun IntArray?.contentEquals(
    other: IntArray?
): Boolean
Platform and version requirements: JS (1.4), Native (1.4)
infix fun LongArray?.contentEquals(
    other: LongArray?
): Boolean
Platform and version requirements: JVM (1.4)
@JvmName("contentEqualsNullable") infix fun LongArray?.contentEquals(
    other: LongArray?
): Boolean
Platform and version requirements: JS (1.4), Native (1.4)
infix fun FloatArray?.contentEquals(
    other: FloatArray?
): Boolean
Platform and version requirements: JVM (1.4)
@JvmName("contentEqualsNullable") infix fun FloatArray?.contentEquals(
    other: FloatArray?
): Boolean
Platform and version requirements: JS (1.4), Native (1.4)
infix fun DoubleArray?.contentEquals(
    other: DoubleArray?
): Boolean
Platform and version requirements: JVM (1.4)
@JvmName("contentEqualsNullable") infix fun DoubleArray?.contentEquals(
    other: DoubleArray?
): Boolean
Platform and version requirements: JS (1.4), Native (1.4)
infix fun BooleanArray?.contentEquals(
    other: BooleanArray?
): Boolean
Platform and version requirements: JVM (1.4)
@JvmName("contentEqualsNullable") infix fun BooleanArray?.contentEquals(
    other: BooleanArray?
): Boolean
Platform and version requirements: JS (1.4), Native (1.4)
infix fun CharArray?.contentEquals(
    other: CharArray?
): Boolean
Platform and version requirements: JVM (1.4)
@JvmName("contentEqualsNullable") infix fun CharArray?.contentEquals(
    other: CharArray?
): Boolean

Returns true if the two specified arrays are structurally equal to one another, i.e. contain the same number of the same elements in the same order.

The elements are compared for equality with the equals function. For floating point numbers it means that NaN is equal to itself and -0.0 is not equal to 0.0.

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

Returns true if the two specified arrays are structurally equal to one another, i.e. contain the same number of the same elements in the same order.

© 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-equals.html