最近在学习java,目前看到java如何对一个对象列表进行排序. 我有一个Member类: public Member(String name,Calendar birthday,Sex gender,String emailaddress) { this.name=name; this.birthday=birthday; this.emailaddress=emailaddress; this.gender=gender; } public Member() { } public int g…