Go to the documentation of this file.
19package org.sleuthkit.autopsy.datasourcesummary.datamodel;
21import java.util.Objects;
22import org.sleuthkit.autopsy.geolocation.KdTree;
43 super(latitude, longitude);
86 int hash = super.hashCode();
87 hash = 37 * hash + Objects.hashCode(this.cityName);
88 hash = 37 * hash + Objects.hashCode(this.country);
100 if (getClass() != obj.getClass()) {
103 final CityRecord other = (CityRecord) obj;
104 if (!Objects.equals(
this.cityName, other.
cityName)) {
107 if (!Objects.equals(
this.country, other.
country)) {
110 return super.equals(obj);
115 return "CityRecord{" +
"cityName=" +
cityName +
", country=" +
country +
", lat=" +
getX() +
", lng=" +
getY() +
'}';
boolean equals(Object obj)
XYZPoint(Double x, Double y)
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.