22 |
return "Adresse id=" + id+ " postnr=" + postnr + " adresse=" + adresse + " ho=" + ho; |
return "Adresse id=" + id+ " postnr=" + postnr + " adresse=" + adresse + " ho=" + ho; |
23 |
} |
} |
24 |
|
|
25 |
@Override //Fra KDNodeComparator |
/*@Override //Fra KDNodeComparator |
26 |
protected boolean isNodeCompatible(GeoPoint other) { |
protected boolean isNodeCompatible(GeoPoint other) { |
27 |
if (! (other instanceof Adresse) ) { |
if (! (other instanceof Adresse) ) { |
28 |
System.out.print("How the hell did this happen?"); |
System.out.print("How the hell did this happen?"); |
32 |
Adresse addr = (Adresse) other; |
Adresse addr = (Adresse) other; |
33 |
|
|
34 |
return (this.ho == addr.ho); |
return (this.ho == addr.ho); |
35 |
} |
}*/ |
36 |
|
|
37 |
} |
} |