aspose file tools*
The moose likes Java in General and the fly likes Logic for comparing two trees of unequal hierarchies. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Logic for comparing two trees of unequal hierarchies." Watch "Logic for comparing two trees of unequal hierarchies." New topic
Author

Logic for comparing two trees of unequal hierarchies.

Etao Laishram
Greenhorn

Joined: Dec 12, 2012
Posts: 1
Hello,
I am trying to write a recursive function to compare two trees of different hierarchies, like comparing two different XML files. Any idea on this? HashMap can be used for representing the tree.
 
Consider Paul's rocket mass heater.
 
subject: Logic for comparing two trees of unequal hierarchies.