摘要: 一. Java中泛型如何比较大小,继承Comparable类,然后实现其唯一的方法compareTo():1 public class GenericClass>{2 public int com(E e1, E e2){3 return e1.compareTo(e2);4... 阅读全文
posted @ 2015-07-03 10:40 CherishFu 阅读(811) 评论(0) 推荐(0) 编辑