compareTo()

java 对ArrayList 按照属性排序
Comparator<TermDto> { public int compare(TermDto o1, TermDto o2) { if (o1.getId().compareTo
wkf41068·2012-10-10 11:00