Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Eclipse では、デバッグ時に、com.blah.blah.blah@82963fb のように変数に数字が追加されているのを見ました。
82963fb とはどういう意味ですか? メモリアドレスですか?
表示されるのは Object.toString() メソッドの出力です。その定義は次のとおりです。
public String toString() { return getClass().getName() + "@" + Integer.toHexString(hashCode()); }
だから、あなたが見ているの@はInteger.toHexString(hashCode())
@
Integer.toHexString(hashCode())