Changeset 647 in josm for trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java
- Timestamp:
- 2008-06-10T00:16:09+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java
r646 r647 13 13 import org.openstreetmap.josm.data.coor.LatLon; 14 14 15 public class WayPoint extends WithAttributes { 15 public class WayPoint extends WithAttributes implements Comparable{ 16 16 17 17 public final LatLon latlon; … … 50 50 } 51 51 52 public int compareTo(Object other){ 53 if(other instanceof WayPoint){ 54 WayPoint w = (WayPoint)other; 55 return (int)time - (int)w.time; 56 } 57 return 0; 58 } 52 59 }
Note:
See TracChangeset
for help on using the changeset viewer.
