mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
19 lines
371 B
Plaintext
19 lines
371 B
Plaintext
// WITH_STDLIB
|
|
|
|
data class A(val a: IntArray) {
|
|
override fun hashCode(): Int {
|
|
return a.contentHashCode()
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|