I'm not a Java guy, but I wanted to work on a simple way to take some text files and convert them into objects that can be accessed as fast as possible, instead of having to iterate through an array with a foreach loop.
Attached is my list. I'd just like to get it to give me the name of the place that coincides with the zip code, as fast as possible. I do Powershell so I would do a hash table. So I'm assuming we'd be doing the same thing.
I've tried importing from a text file into a filestreamreader, but it wants it's own subroutine for it. Again, I'm not savvy on Java, so I would love an example.
Any insight would be much appreciated.