I have two HashMap maps that I would like to compare. Question in this case is a Javabean I have written.
HashMap
Question
How do I ass
You can use compare(-,-)(Mostly used for sorting purpose) of Comparator interface to implement custom comparison between objects as your requirement. Or use equals() method to compare objects.
compare(-,-)
sorting
Comparator
equals()