摘要:
数组里面,如果只根据一个属性进行排序,数组类实现Comparable方法。重写一下方法: @Overridepublic int compareTo(Object another) { TaskSimpleInfo t = (TaskSimpleInfo) another; return t.get 阅读全文
posted @ 2016-10-19 17:19
word_hard
阅读(2118)
评论(0)
推荐(0)