Commonclipse 是 eclipse的一个插件.它可以自动生成下面的方法: toString() hashcode() equals(Object) compareTo(Object) 项目网址:http://commonclipse.sourceforge.net/index.html   自动生成的这些方法是基
在实际的开发中总是有重写从Object类所继承的equals()、hashCode()和toString()等方法的需求,实现这个需求的代码烦琐且无技术含量,编写不当还容易出现不易发现的错误。为了更加方便地实现这些方法,可以使用Apache Commons Lang组件builder包中的帮助类。
转载 2013-01-11 11:25:00
199阅读
2评论
步骤:依次点击"Help" -> "Software updates" -> "Find and Install" -> "Search for new features to install",点击"add update site",输入http://commonclipse.sourceforge.net,OK。    接下来需要对Commonclipse进行一些配置。点击"
原创 2021-04-21 22:42:01
170阅读