摘要: public interface Comparable { public int compareTo(T o);}一般是用于比较的对象本身直接来实现,如常见的基本数据类型。public interface Comparator { int compare(... 阅读全文
posted @ 2017-05-06 20:12 Lucare 阅读(111) 评论(0) 推荐(0) 编辑