Collections.sort(flightScheduleReturnBeanList , new Comparator() {
public int compare(Object o1, Object o2) {
FlightScheduleReturnBean flightScheduleReturnBean1 = (FlightScheduleReturnBean) o1;
FlightScheduleReturnBean flightScheduleReturnBean2 = (FlightScheduleReturnBean) o2;
return flightScheduleReturnBean1.getStd().compareTo(flightScheduleReturnBean2.getSta());
}
});
List 排序 内部类
最新推荐文章于 2022-01-15 22:53:15 发布