Simply use :
mapA.equals(mapB);
Compares the specified object with this map for equality. Returns true
if the given object is also a map and the two maps represent the same
mappings
Simply use :
mapA.equals(mapB);
Compares the specified object with this map for equality. Returns true
if the given object is also a map and the two maps represent the same
mappings