override fun equals()

in src/main/kotlin/com/haulmont/astronomy/model/Coordinates.kt [15:23]


    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (other == null || Hibernate.getClass(this) != Hibernate.getClass(other)) return false
        other as Coordinates

        if (latitude != other.latitude) return false
        if (longitude != other.longitude) return false
        return true
    }