//Iki farkli sıralama icin
Collections.sort(dataList, new Comparator() {
@Override
public int compare(ReportBean o1,ReportBean o2) {
Collator trCollator = Collator.getInstance(new Locale("tr", "TR"));
int compareTo;
compareTo = o1.getWageDescription().compareTo(o2.getWageDescription());
if(compareTo == 0)
compareTo = o1.getPersSicil().compareTo(o2.getPersSicil());
return compareTo;
}
});
Hiç yorum yok:
Yorum Gönder