The line I get an error on is this:
List accDetails = (List)tm.get(accNo)
"tm" is a TreeMap, and "accNo" is a value in it.
accNo is a String. I get a build error like this:
java.lang.String cannot be cast to java.util.List
I have no idea what to do here, I've tried by myself, and I've googled myself silly, but still no answer...
Can anyone here help?