Changeset 4272 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2011-07-27T23:50:06+02:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Pair.java
r3719 r4272 48 48 } 49 49 50 50 /* convenience constructor method */ 51 public static <U,V> Pair<U,V> create(U u, V v) { 52 return new Pair<U,V>(u,v); 53 } 51 54 } -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r4197 r4272 258 258 } 259 259 } 260 261 private final static double EPSILION = 1e-11; 262 263 public static boolean equalsEpsilon(double a, double b) { 264 return Math.abs(a - b) <= EPSILION; 265 } 260 266 }
Note:
See TracChangeset
for help on using the changeset viewer.