package com.igo.user.network.entity;
|
|
public class LatLonPoint {
|
private double a;
|
private double b;
|
|
public LatLonPoint(double var1, double var3) {
|
this.a = var1;
|
this.b = var3;
|
}
|
|
public double getLongitude() {
|
return this.b;
|
}
|
|
public void setLongitude(double var1) {
|
this.b = var1;
|
}
|
|
public double getLatitude() {
|
return this.a;
|
}
|
|
public void setLatitude(double var1) {
|
this.a = var1;
|
}
|
|
public LatLonPoint copy() {
|
double var1 = this.a;
|
double var3 = this.b;
|
return new LatLonPoint(var1, var3);
|
}
|
|
@Override
|
public int hashCode() {
|
long var10000 = Double.doubleToLongBits(this.a);
|
int var3 = 31 + (int) (var10000 ^ var10000 >>> 32);
|
long var1 = Double.doubleToLongBits(this.b);
|
return var3 * 31 + (int) (var1 ^ var1 >>> 32);
|
}
|
|
@Override
|
public boolean equals(Object var1) {
|
if (this == var1) {
|
return true;
|
} else if (var1 == null) {
|
return false;
|
} else if (this.getClass() != var1.getClass()) {
|
return false;
|
} else {
|
if (Double.doubleToLongBits(this.a) != Double.doubleToLongBits(((LatLonPoint) var1).getLatitude())) {
|
return false;
|
} else {
|
return Double.doubleToLongBits(this.b) == Double.doubleToLongBits(((LatLonPoint) var1).getLongitude());
|
}
|
}
|
}
|
|
@Override
|
public String toString() {
|
return "" + this.a + "," + this.b;
|
}
|
|
}
|