2020
10-10
10-10
Java如何实现List自定义排序
实体类packagecom.whty.entity;publicclassUser{privateintid;privateStringname;privateintage;publicUser(intid,Stringname,intage){super();this.id=id;this.name=name;this.age=age;}publicintgetId(){returnid;}publicvoidsetId(intid){this.id=id;}publicStringgetName(){returnname;}publicvoidsetName(Stringname){this.name=name;}publicin...
继续阅读 >