Abagesh Kumar wrote:Is it possible to create an hashmap and dynamically populate it ?
Yes.
Abagesh Kumar wrote:How can I do that?
You can write a code which puts key-value pairs in HashMap. I didn't get this question clearly.
Abagesh Kumar wrote:I want a hash map created with Keys " A, B , C" with null values
If values are null anyway, why do you need a Map? It can be done by List as well.
Abagesh Kumar wrote:
The values for these keys come from a String parsed by split ( No of strings to be parsed runs into millions) Eg: 123|S|122.14, or S,344,122.146
Strings will be have values for keys (columns) A B C in different positions ( Eg: for 123|S|122.14 - Keys are A B C and for S,123,122.14 kEYS ARE B A C)
Again, can you please clarify a more? I did not get what this is.
Abagesh Kumar wrote:I want to bulk load db after maping them to hashmap lists
What is 'bulk load db after mapping'? Which mapping? What is 'HashMap Lists'?
Can you please provide more clarification about what exactly are you trying to do? How? And where does HashMap comes into picture?