摘要:
集合和数组的排序示例代码如下:StudentCompare 类实现了Comparable和Comparator两个接口package com.compare.bean;import java.util.Comparator;/** * @version 1.0 * @author HUAZAI * @Date 2014-03-05 */public class StudentCompare implements Comparable, Comparator { private String name; private int age; private float score; /** *... 阅读全文