JavaDoc & Clean
This commit is contained in:
parent
f73a8ba394
commit
02a82cc89d
@ -13,11 +13,18 @@ import org.json.simple.JSONArray;
|
|||||||
import org.json.simple.JSONObject;
|
import org.json.simple.JSONObject;
|
||||||
|
|
||||||
public class Location {
|
public class Location {
|
||||||
|
|
||||||
private double latitude;
|
private double latitude;
|
||||||
private double longitude;
|
private double longitude;
|
||||||
private String city;
|
private String city;
|
||||||
private JSONObject jsonInfo;
|
private JSONObject jsonInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Manual location constructor
|
||||||
|
* @param lat
|
||||||
|
* @param lon
|
||||||
|
* @param city
|
||||||
|
*/
|
||||||
public Location(double lat, double lon, String city) {
|
public Location(double lat, double lon, String city) {
|
||||||
latitude = lat;
|
latitude = lat;
|
||||||
longitude = lon;
|
longitude = lon;
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.NoSuchElementException;
|
|
||||||
import java.util.Scanner;
|
import java.util.Scanner;
|
||||||
|
|
||||||
import org.joda.time.LocalDate;
|
import org.joda.time.LocalDate;
|
||||||
|
Loading…
Reference in New Issue
Block a user