io.github.yangkeith.dto.Gps Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of utils Show documentation
Show all versions of utils Show documentation
A tool class that I use myself
The newest version!
package io.github.yangkeith.dto;
import io.github.yangkeith.validate.BaseValidate;
public class Gps {
static {
new BaseValidate();
}
private double wgLat;
private double wgLon;
public Gps(double wgLat, double wgLon) {
new BaseValidate();
setWgLat(wgLat);
setWgLon(wgLon);
}
public double getWgLat() {
return wgLat;
}
public void setWgLat(double wgLat) {
this.wgLat = wgLat;
}
public double getWgLon() {
return wgLon;
}
public void setWgLon(double wgLon) {
this.wgLon = wgLon;
}
@Override
public String toString() {
return wgLat + "," + wgLon;
}
}