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

io.userinfo.client.model.Position Maven / Gradle / Ivy

The newest version!
package io.userinfo.client.model;

/**
 * This class represents a position returned by the userinfo.io API.
 *
 * @author Vincent DURMONT [[email protected]]
 */
public class Position {
    private Double latitude;
    private Double longitude;
    private Double accuracy;

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(Double accuracy) {
        this.accuracy = accuracy;
    }

    @Override public String toString() {
        return "Position{" +
                "latitude=" + latitude +
                ", longitude=" + longitude +
                ", accuracy=" + accuracy +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy