aspose file tools
The moose likes Java in General and the fly likes comparing object graphs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "comparing object graphs" Watch "comparing object graphs" New topic

comparing object graphs

Sri Rangan
Ranch Hand

Joined: Dec 08, 2001
Posts: 160
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
Brian McCallister

Joined: Dec 03, 2002
Posts: 19
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?).
It is sorta covered in the JavaRanch Style Guide.
subject: comparing object graphs