mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
20 lines
395 B
Kotlin
20 lines
395 B
Kotlin
// WITH_STDLIB
|
|
// PROBLEM: none
|
|
|
|
data class A(val <caret>a: IntArray) {
|
|
override fun equals(other: Any?): Boolean {
|
|
if (this === other) return true
|
|
if (javaClass != other?.javaClass) return false
|
|
|
|
other as A
|
|
|
|
if (!a.contentEquals(other.a)) return false
|
|
|
|
return true
|
|
}
|
|
|
|
override fun hashCode(): Int {
|
|
return a.contentHashCode()
|
|
}
|
|
}
|