List<Object>使用Object的某个属性进行排序(正序,倒序)
package com.test;
public class User {
private String name;
private Integer orderNo;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public ...
原创
2017-08-22 16:46:52 ·
7928 阅读 ·
2 评论