list排序,若是A字段相同,則以B字段進行排序

public static void sortMyUserHistoryList(List<AppUserhistoryinfoEntity> UserHistorylst) { Collections.sort(UserHistorylst, new Comparator<Object>() { public int compare(Object arg0, Object arg1) { App
相關文章
相關標籤/搜索