You are viewing a single comment's thread. Return to all comments →
Much cleaner in java 8:
String[] x = Arrays.copyOf(s, n); Arrays.sort(x,Collections.reverseOrder(Comparator.comparing(BigDecimal::new))); s = x;
Seems like cookies are disabled on this browser, please enable them to open this website
Java BigDecimal
You are viewing a single comment's thread. Return to all comments →
Much cleaner in java 8: