JDK核心JAVA源码解析 - Object

转载:http://www.javashuo.com/article/p-xfwwczeu-a.html 1. Object类 (1)hashCode方法和equals方法 public native int hashCode(); public boolean equals(Object obj) { return (this == obj); } Java内规定,hashCode方法的
相关文章
相关标签/搜索