对象类实现继承Comparable接口重写compareTo方法实现排序功能,重写equals方法实现去重功能(根据ID去重)对象类实现继承Comparable接口重写compareTo方法实现排序功能,重写equals 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交