Posts

Showing posts from August, 2010

Featured Post

Small Kavitha

Image
Small Kavitha ... Is this Good..? మనసులోని భావాలెన్నో మరువలేని గాయాలెన్నో వీడలేని నేస్తాలెన్నో వీడిపోని బంధాలెన్నో మరపురాని పాటలెన్నో మధురమయిన క్షణాలెన్నో కవ్వించే కబుర్లెన్నో మాయమయ్యే మార్పులెన్నో అవసరానికి ఆడిన అబద్ధాలెన్నో తుంటరిగా చేసిన చిలిపి పనులెన్నో ఆస్చర్యపరిచే అద్భుతాలెన్నో మాటల్లో చెప్పలేని ముచ్చట్లెన్నో ముసుగు వేసిన మనసుకు మరువరాని జ్ఞాపకాలెన్నో ఎన్నో ఎన్నెన్నో ఇంకెన్నో... మనిషి జీవితంలో మరువలేని ఇంకెన్నో ఇదే జీవితం... దీనిని అనుభవించు అనుక్షణం ... ఎదురు చుడకి ఆనందం కొరకై .....నిరాశ పడకు...మెరుపై సాగు ఉరుమై మేరువు.....అనుబవించు జీవితాన్ని Enter you DOB ,Time and Place SEO Schemes Full $20.00 Advice $15.00 Advice+MarketSearch $18.00

Merging Two HashMaps in java

Image
Hi Guys , Have ever come across the question called Merging Two HashMaps into single HashMap . You might have come across that question but I stringly feel you will write simple program and defining some varibales solve the logic . But what do you feel that would be perormance issue isn't it . If I give you 5 hashmaps and converting them into single hashmap then again you will think of writing some custom logic which gives required output . But following flaws would be there in your program logic which I am mentioned below . ************************************************** 1)There may be duplicate entries in you may be pickingup the things and merging into single hashmap 2)Lot of varibles required eventually leads to Bad program logic which may causes the OutOfMemory 3)If there are more hashmaps then program logic need to be changed . Hence We need to Use org.apache.faces.HashMapUtils one class is there you can use that class to to merge the HashMaps into single HashM...