Android Open Source - activity-tracker Data Point

From Project

Back to project page activity-tracker.


The source code is released under:

MIT License

If you think the Android project activity-tracker listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.hopto.mjancola.model;
//from  www  . j  a v a2s .  c  o m
public class DataPoint
    private double longitude;
    private double latitude;
    private long timeMS;

    public DataPoint(long timeMS, double lat, double lon)
        this.longitude = lon;
        this.latitude = lat;
        this.timeMS = timeMS;

    public double getLongitude()
        return longitude;

    public double getLatitude()
        return latitude;

    public long getTime()
        return timeMS;

Java Source Code List