編集の要約なし |
|||
(同じ利用者による、間の2版が非表示) | |||
2行目: | 2行目: | ||
I enable a good hashCode method to be built for any class. | I enable a good hashCode method to be built for any class. | ||
==Methods== | |||
* reflectionHashCode - 完成されたハッシュ値を生成 | |||
==Exemples== | |||
[[Object#hashCodeオーバーライドの定石]]と比較。 | |||
public class Bank { | |||
return HashCodeBuilder.reflectionHashCode(this); | |||
} |
2019年7月2日 (火) 21:14時点における最新版
commons.lang.HashCodeBuilder [1]
I enable a good hashCode method to be built for any class.
Methods
- reflectionHashCode - 完成されたハッシュ値を生成
Exemples
public class Bank { return HashCodeBuilder.reflectionHashCode(this); }