`
zhang_xzhi_xjtu
  • 浏览: 522126 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Effective Java第二版变更之 Methods Common to All Objects

阅读更多
第2版 Methods Common to All Objects

Item 8: Obey the general contract when overriding equals
Item 9: Always override hashCode when you override equals
Item 10: Always override toString
Item 11: Override clone judiciously
Item 12: Consider implementing Comparable

没有变化,老样子。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics