blob: 64d059bd3d4327794639304278af6930d4251145 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package at.hannibal2.skyhanni.utils
class IdentityCharacteristics<T>(val value: T) {
override fun equals(other: Any?): Boolean {
if (other !is IdentityCharacteristics<*>) return false
return this.value === other.value
}
override fun hashCode(): Int {
return System.identityHashCode(value)
}
}
|