This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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.
 
Have you checked out Aspose?
 
subject: Logic for comparing two trees of unequal hierarchies.
 
It's not a secret anymore!