Discipline, Dedication and Determination define Destiny.
Discipline, Dedication and Determination define Destiny.
Discipline, Dedication and Determination define Destiny.
Discipline, Dedication and Determination define Destiny.
1. Please tell me how efficient my method is.
I have used toLowerCase() to take care of the field names and values. Is that ok?
3. Should my method disregard the field, "Origin airport" if it is just "Origin" in the criteria string???
4. Should my method disregard "flight number" if it is going to be "flightnumber" ?? (without spaces in between)
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Discipline, Dedication and Determination define Destiny.
1. I agree with your point on "toLowerCase()" issue. But that's only for field names? Can the string values can be converted to their lowercases?
2. Do we have to consider the customer's choice of time of flight .. say he wants to travel on July 20, late evening.. do we have to then provide him with only those options that satisfy his time of travel also? In that case, we need to provide him with another combo box for the travel "dates" and "timings", right?
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Discipline, Dedication and Determination define Destiny.
Is it ok to define specific constants (pertaining to the field numbers)like how I have done?
Also I have an option "Any Place" in my origin and destination combos. So when that is selected (for Origin and Destn), it's handled in the table model class itself (and all the flight schedules are displayed) and not taken to the Data class for criteriaFind().
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog