[java] How can I combine two HashMap objects containing the same types?