data structure similar to database table
i have the need for a data structure that will essentially be the same as a database table. this "table" can be queried against and sorted.
currently, i am using an interface to abstract this "table" datastructure, and implementing the interface via jdbc calls.
may someone point me in the right direction?
in .NET, they have the DataTable and DataSet data structures, which do exactly as i require. These are objects essentially correspond to a database table and database, respectively. They are used as in-memory database.
i have already tried using HSQL, but was wondering if there was a "better" way (i.e. more light-weight, intuitive, easier to use).
thanks.

