csvfiles: illustrates reading from a csvfile into an ArrayList
This directory illustrates a way to define an object, define
an ArrayList of those objects, and then read from a file into that
ArrayList, using the split method of the String class to divide up
comma separated fields, and load each of those lines into that
ArrayList.
Future work that could be done to extend this idea:
- Instead of an ArrayList, a HashMap might be better--where the key is a string, and the object is a UCSBBuildingLatLon. At the moment, if you have a String for a building, and you want to know it's lat/lon, you would have to go through every item
in the ArrayList.