[commons]ToStringBuilder会生成对象的hashCode Leave a Comment / Java / August 20, 2008 August 20, 2008 ToStringBuilder 会生成对象的hashCode,因此要保证对象的hashCode()方法不会报Exception