Comparing objects before and after some events in java in printed texts -


i need solution following problem. suppose have different fields in class. each of different type, may basic types such integers, may complex object type fields. need find way compare fields after exit , restart of app. limited dumping values file , comparing those. how can put on file , compare them can determine whether have changed or not. not need values. gethashcode() help?

if understand question, compare content in file after exit , before restart. 1 way use message digest. in calculating sha1 of contents , comparing before restart.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -