How to generate a checksum for an java object

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-04-15T11:37:51Z Indexed on 2010/04/15 11:43 UTC
Read the original article Hit count: 269

Filed under:
|
|

hi there,

I'm looking for an solution to generate a checksum for any type of java object, which remains the same for every exection of an application which produces the same object.

I tried it with object.hashcode(), but as I read in the api

....This integer need not remain consistent from one execution of an application to another execution of the same application.

thank you, best regard alex

© Stack Overflow or respective owner

Related posts about java

Related posts about object