You are viewing a single comment's thread. Return to all comments →
A simple one for java 8
Arrays.sort(s,(a,b) -> { if(a!=null&& b!=null) return new BigDecimal(b).compareTo(new BigDecimal(a)); return 0; });
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 →
A simple one for java 8