- Timestamp:
- 2019-08-04T22:09:54+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Functions.java
r15275 r15279 495 495 496 496 /** 497 * Sort an array of strings 498 * @param sortables The array to sort 499 * @return The sorted list 500 * @since 15279 501 */ 502 public static List<String> sort(String... sortables) { 503 Arrays.parallelSort(sortables); 504 return Arrays.asList(sortables); 505 } 506 507 /** 508 * Sort a list of strings 509 * @param sortables The list to sort 510 * @return The sorted list 511 * @since 15279 512 */ 513 public static List<String> sort_list(List<String> sortables) { 514 Collections.sort(sortables); 515 return sortables; 516 } 517 518 /** 497 519 * Returns the role of current object in parent relation, or role of child if current object is a relation. 498 520 * @param env the environment
Note:
See TracChangeset
for help on using the changeset viewer.