Changeset 4098 in josm for trunk/src/org/openstreetmap/josm/data/osm/Node.java
- Timestamp:
- 2011-05-29T19:45:59+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r3653 r4098 12 12 * @author imi 13 13 */ 14 public final class Node extends OsmPrimitive {14 public final class Node extends OsmPrimitive implements INode { 15 15 16 16 private CachedLatLon coor; 17 17 18 @Override 18 19 public final void setCoor(LatLon coor) { 19 20 if(coor != null){ … … 22 23 } 23 24 25 @Override 24 26 public final void setEastNorth(EastNorth eastNorth) { 25 27 if(eastNorth != null) { … … 41 43 } 42 44 45 @Override 43 46 public final LatLon getCoor() { 44 47 return coor; 45 48 } 46 49 50 @Override 47 51 public final EastNorth getEastNorth() { 48 52 return coor != null ? coor.getEastNorth() : null; … … 210 214 } 211 215 216 @Override 212 217 public int compareTo(OsmPrimitive o) { 213 218 return o instanceof Node ? Long.valueOf(getUniqueId()).compareTo(o.getUniqueId()) : 1; … … 219 224 } 220 225 226 @Override 221 227 public OsmPrimitiveType getType() { 222 228 return OsmPrimitiveType.NODE;
Note:
See TracChangeset
for help on using the changeset viewer.