📅  最后修改于: 2022-03-11 14:52:43.483000             🧑  作者: Mango
Comparator byName = new Comparator() {
@Override
public int compare(Developer o1, Developer o2) {
return o1.getName().compareTo(o2.getName());
}
};