Changeset 6830 in josm for trunk/src/org/openstreetmap/josm/tools/Utils.java
- Timestamp:
- 2014-02-10T00:51:53+01:00 (12 years ago)
- File:
-
- 1 edited
-
trunk/src/org/openstreetmap/josm/tools/Utils.java (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Utils.java
r6823 r6830 261 261 262 262 /** 263 * convert float range 0 <= x <= 1 to integer range 0..255263 * convert float range 0 <= x <= 1 to integer range 0..255 264 264 * when dealing with colors and color alpha value 265 265 * @return null if val is null, the corresponding int if val is in the … … 275 275 276 276 /** 277 * convert integer range 0..255 to float range 0 <= x <= 1277 * convert integer range 0..255 to float range 0 <= x <= 1 278 278 * when dealing with colors and color alpha value 279 279 */ … … 317 317 318 318 /** 319 * Simple file copy function that will overwrite the target file.<br />319 * Simple file copy function that will overwrite the target file.<br> 320 320 * Taken from <a href="http://www.rgagnon.com/javadetails/java-0064.html">this article</a> (CC-NC-BY-SA) 321 321 * @param in The source file … … 526 526 * Topological sort. 527 527 * 528 * @param dependencies contains mappings (key - >value). In the final list of sorted objects, the key will come528 * @param dependencies contains mappings (key -> value). In the final list of sorted objects, the key will come 529 529 * after the value. (In other words, the key depends on the value(s).) 530 530 * There must not be cyclic dependencies. … … 836 836 * @param elapsedTime The duration in milliseconds 837 837 * @return A human readable string for the given duration 838 * @throws IllegalArgumentException if elapsedTime is <0838 * @throws IllegalArgumentException if elapsedTime is < 0 839 839 * @since 6354 840 840 */ … … 867 867 /** 868 868 * Returns a human readable representation of a list of positions. 869 * <p />869 * <p> 870 870 * For instance, {@code [1,5,2,6,7} yields "1-2,5-7 871 871 * @param positionList a list of positions
Note:
See TracChangeset
for help on using the changeset viewer.
