All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.yangkeith.dto.Gps Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy