Changeset 17897 in josm for trunk/src/org
- Timestamp:
- 2021-05-17T19:44:55+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/WaySegment.java
r17896 r17897 40 40 } 41 41 42 @Override43 public Node getFirstNode() {44 // This is kept for binary compatibility45 return super.getFirstNode();46 }47 48 @Override49 public Node getSecondNode() {50 // This is kept for binary compatibility51 return super.getSecondNode();52 }53 54 55 42 /** 56 43 * Returns this way segment as complete way. … … 66 53 67 54 @Override 68 public boolean equals(Object o) {69 // This is kept for binary compatibility70 return super.equals(o);71 }72 73 @Override74 public int hashCode() {75 // This is kept for binary compatibility76 return super.hashCode();77 }78 79 /**80 * Checks whether this segment crosses other segment81 *82 * @param s2 The other segment83 * @return true if both segments crosses84 */85 public boolean intersects(WaySegment s2) {86 // This is kept for binary compatibility87 return super.intersects(s2);88 }89 90 /**91 * Checks whether this segment and another way segment share the same points92 * @param s2 The other segment93 * @return true if other way segment is the same or reverse94 */95 public boolean isSimilar(WaySegment s2) {96 // This is kept for binary compatibility97 return super.isSimilar(s2);98 }99 100 @Override101 55 public String toString() { 102 56 return "WaySegment [way=" + getWay().getUniqueId() + ", lowerIndex=" + getLowerIndex() + ']';
Note:
See TracChangeset
for help on using the changeset viewer.