Try to scan the values
hashmap and print out all the elements in it to see if you parse the file and insert the elements in the hashmap correctly. An alternative to BufferedReader()
is using CSVReader()
which handle more sophisticated CSVs better. You can read more about it here.