Say I have this rather complex HashMap:
Map<> map = new HashMap<String, HashMap<ArrayList<String>,Double>>();
With the Arrays.asList()
function, it prints out as a string in a readable manner, and I can write it to a text file.
Is there a way to begin with a text file with the output of this HashMap as a string printed into it, and compile it back into a HashMap?