blob: 4b372358a3bcfbc876cf19da9b0d34469fc58e57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
package com.benburwell.planes.data;
import java.util.Date;
/**
* Created by ben on 11/15/16.
*/
public class Position {
private Date timestamp = new Date(System.currentTimeMillis());
private Double latitude = 0.0;
private Double longitude = 0.0;
public Date getTimestamp() {
return timestamp;
}
public void setTimestamp(Date timestamp) {
this.timestamp = timestamp;
}
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 getAltitude() {
return altitude;
}
public void setAltitude(double altitude) {
this.altitude = altitude;
}
private double altitude = 0;
}
|