E
Edward H. Fabrega
My program will implement a flat file database (non-relational). I haven't
started to code yet, as I'm transitioning from C++ MFC to Java. Using MFC I
was able to do this with a linked list of StringArrays. In Java, I'm
thinking about doing it with a LinkedList of ArrayLists, where each item in
each ArrayList is a String. This will model the records. I will have a
simple ArrayList to model the column labels.
My question is: is there a better data model for a database that is
achievable with the API? A store bought component or something from a third
party API is not possible. I'm not worried about the UI at this point, only
the data.
started to code yet, as I'm transitioning from C++ MFC to Java. Using MFC I
was able to do this with a linked list of StringArrays. In Java, I'm
thinking about doing it with a LinkedList of ArrayLists, where each item in
each ArrayList is a String. This will model the records. I will have a
simple ArrayList to model the column labels.
My question is: is there a better data model for a database that is
achievable with the API? A store bought component or something from a third
party API is not possible. I'm not worried about the UI at this point, only
the data.