is it possible to merge two maps with the same keys but different object and finnaly get map completed of data from second map?
public class Employee {
private String firstName;
private String lastName;
private Address address;
}
public class Address {
private String city;
private String country;
private String street;
}
Map<String, Employee> map1 = new HashMap<>();
Map<String, Address> map2 = new HashMap<>();
//We need map 3 with value in employee completed with address.
Map<String, Employee> map3 = new HashMap<>();