Changeset 29854 in osm for applications/editors/josm/plugins/surveyor/src/org
- Timestamp:
- 2013-08-21T03:47:16+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/src/org/dinopolis/util/collection/Tuple.java
r13497 r29854 11 11 * 12 12 * @author cdaller 13 * 13 * @deprecated Should be replaced by {@link org.openstreetmap.josm.tools.Pair} 14 14 */ 15 15 public class Tuple<T1 extends Object, T2 extends Object> implements Map.Entry<T1, T2>{ 16 16 T1 first; 17 17 T2 second; 18 19 /**20 * Default Constructor21 */22 public Tuple() {23 }24 18 25 19 /** … … 102 96 * @see java.lang.Object#equals(java.lang.Object) 103 97 */ 104 @SuppressWarnings("unchecked")105 98 @Override 106 99 public boolean equals(Object obj) { … … 111 104 if (getClass() != obj.getClass()) 112 105 return false; 113 final Tuple other = (Tuple) obj;106 final Tuple<?, ?> other = (Tuple<?, ?>) obj; 114 107 if (this.first == null) { 115 108 if (other.first != null)
Note:
See TracChangeset
for help on using the changeset viewer.