Quantcast
Browsing latest articles
Browse All 2 View Live

Answer by eracube for Sorting specific object of ArrayList

If I understand well your problem, the quick solution will be to do like follows:Collections.sort(final_itinList, new Comparator<HashMap<String, String>>() { @Override public int...

View Article


Sorting specific object of ArrayList

I have the following ArrayList hashmap: [{username=p, diff=0.0}, {username=e , diff=314.0}, {username=e ,diff=90.0}, {username=p, diff=0.0}, {username=e, diff=94.0}, {username=z, diff=92.0} ,...

View Article

Browsing latest articles
Browse All 2 View Live