一、需求 有这样一个需求: 要求对list对象按照某个属性进行排序。于是,我在对象实体中重写了Comparable的compareTo方法。代码如下: public int compareTo(UseStaticsVo o) { i