摘要:
http://crd1991.iteye.com/blog/1473108http://blog.csdn.net/liushuai_ly/article/details/8197508判断两个对象是否相等(是同一个对象),首先调用hashCode()方法得到各自的hashcode,1、如果hash... 阅读全文
摘要:
public interface Comparable { public int compareTo(T o);}规定了对象内部比较的方法public interface Comparator { int compare(T o1, T o2); boolean equals... 阅读全文