Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package droga.w.grafie;
- public class NodeCoordinate {
- private long id;
- private double lat;
- private double lon;
- public static int count = 0;
- //Setters and Getters
- public void setId(long id){
- this.id=id;
- }
- public long getId(){
- return id;
- }
- public void setLat(double lat){
- this.lat=lat;
- }
- public double getLat(){
- return lat;
- }
- public void setLon(double lon){
- this.lon=lon;
- }
- public double getLon(){
- return lon;
- }
- @Override
- public String toString()
- {
- return "Node [id=" + id + ". lat: " + lat + ", lon: " + lon + "]\n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement