I have a hashtable declared as :
Hashtable<Integer, ArrayList<String>> writeData = new Hashtable<>();
I want to access the contents of writeData
so as to print them one by one. I don't know what the keys are. So printing them using the keys is not a good idea. Is there a better way to implement Hashtables?