今日発見して感動したのでメモ。 EclipseでequalsメソッドとhashCodeを簡単に実装できる。 手順 public class Book { /** ISBN */ private String isbn = ""; /** タイトル */ private String title = ""; /** 著者 */ private String author = ""; } ↑このクラスに対する実装するとして・・・。 private String author = ""; の次の行にカーソルを移動し、「ファイルメニュー > ソース > hashCode() および equals()の生成」をクリック。 出てきたダイアログで、equalsとhashCodeに使用するフィールドを選択する。 たったこれだけで、equals()とhashCode()が実装される。 public clas
Taxonomy of class loader problems encountered when using Jakarta Commons Logging by Ceki Gülcü, © All rights reserved created 2005-02-02, last updated on 2010-04-09 Acknowledgments I would like to thank Jacob Kjome for reviewing early drafts of this document. His comments helped to clarify several important points. Jake also keeps reminding us on the log4j-dev mailing list that the child-parent de
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く