Sunday, 2 June 2013

transferring Strings between two Hashmaps and an ArrayList

transferring Strings between two Hashmaps and an ArrayList

I have two HashMap: map1<Key1,Value1> and map2<Key2,Value2>, and one ArrayList<Value3>, with Key1, Key2,Value1,Value2,Value3 are all String,
Is possible that i exctract Key2 from map2 and Value3 from my List and put them in map1?
the final result should be like this map<Key2,Value3>.

No comments:

Post a Comment