A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Java in General
Compare 2 HashMap<String, ArrayList>
Joined: Apr 06, 2008
Sep 11, 2011 15:51:22
I need a method to compare two
<String>>. Google Guava API has a Method but it is for single values only -
. Perhaps someone already has the solution or a reference to an online resource that covers this?
Stephan van Hulst
Joined: Sep 20, 2010
Sep 11, 2011 17:29:51
And how would you compare two of such maps? When are they equal? If you can describe it, you can easily compare the two by creating your own Comparator.
I agree. Here's the link:
subject: Compare 2 HashMap<String, ArrayList>
Compare 2 Maps
Adding different objects to same in HashMap?
in what ways can we change this formula..
Better OO design
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013