I have two hash maps like the following:
1.=============Employee================= Key : 1_10 : Value : 13/04/2012 Key : 1_11 : Value : 18/04/2012 Key : 1_
Can you please try like this.
HashMap employeeMap = new HashMap(); HashMap workingdaymap = new HashMap(); Set values1 = new HashSet(employeeMap.values()); Set values2 = new HashSet(workingdaymap.values()); boolean equal = values1.equals(value2);