I'm newbie with Java Is it possible to convert a String, or a String[] as the keys of an Hashmap? I mean:
String keysToConvert = "key1,key2,key3";
into
HashMap<String, Double> hashmap = new HashMap<String, Double>();
[apply in some way the keys of the string]
hashmap.get("key2");
I know that hashmap.get("key2");
has no value in this moment. I just would know if there is a way to load the keys in an HashMap.