Howdy,
I had a question regarding how the search should be implemented. In my instructions, it says I need only do complete matches, so I decided to do
String comparisions only (as opposed to regex).
I implemented the method findFlights, which returns me a List of DataInfo objects to be used in the JTable. The method is brain dead simple, it simply iterates through the main list of flights and adds only those that match the criteria.
Do you think this is "good enough" for the exam? It seems incrediably inefficient. My plan was to say in the design choices document that performance was sacrificed for simplicity.
Thanks for your input!
-- Dave.