I know that I can create a map as shown below.
private static final ImmutableMap<String,String> WordMap = ImmutableMap.<String, String>builder() .put("blah", "blahblah").put("blabla", "blahblahblah").build()
I would like to save the values โโof my map in a configuration file. I already store the values โโfor another hash set in the configuration file, doing values=value1,value2,value3 , and then new HashSet<String>(Arrays.asList(prop.getProperty(values).split(",")))
I would like to do something similar for my card. Any tips? I am using java.util.Properties
java hashmap properties map config
Lemonio
source share