Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

comparing object graphs

 
Sri Rangan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to write a component, which basically compare the values in two similar (nested) objects to generate some kind of reports.
Any thought how effectively it could be done?
Thanks in advance
Sri
 
Brian McCallister
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umh, compare them, generate your report. Aside from that we'd really need some more information.
Comparing complex object graphs could be a very fun task, but is a bit vague. Also, are we dealig with graphs, or just nested objects (container style?).
-Brian
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic