1 |
package dk.daoas.fulddaekning;
|
2 |
|
3 |
import com.jwetherell.algorithms.data_structures.KdTree;
|
4 |
|
5 |
public class Adresse extends KdTree.XYZPoint {
|
6 |
public int id;
|
7 |
public short postnr;
|
8 |
public String adresse;
|
9 |
public int gadeid;
|
10 |
public short husnr;
|
11 |
public String husnrbogstav;
|
12 |
public String rute;
|
13 |
public short ho;
|
14 |
|
15 |
public double latitude;
|
16 |
public double longitude;
|
17 |
|
18 |
public Adresse(Double latitude, Double longitude) {
|
19 |
super(latitude, longitude);
|
20 |
|
21 |
this.latitude = latitude;
|
22 |
this.longitude = longitude;
|
23 |
}
|
24 |
|
25 |
|
26 |
@Override
|
27 |
public String toString() {
|
28 |
return "Adresse id=" + id+ " postnr=" + postnr + " adresse=" + adresse + " ho=" + ho;
|
29 |
}
|
30 |
|
31 |
}
|