mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
16 lines
390 B
Plaintext
Vendored
16 lines
390 B
Plaintext
Vendored
class EqKotlin(val a: Array<Array<String>>) {
|
|
<caret>override fun equals(other: Any?): Boolean {
|
|
if (this === other) return true
|
|
if (javaClass != other?.javaClass) return false
|
|
|
|
other as EqKotlin
|
|
|
|
if (!a.contentDeepEquals(other.a)) return false
|
|
|
|
return true
|
|
}
|
|
|
|
override fun hashCode(): Int {
|
|
return a.contentDeepHashCode()
|
|
}
|
|
} |