My question is: Is there any way to implement database kind of functionality (which In Memory database provides) with java.util.collections (ArrayList/HashMap/3rd party LIB etc...) Let me put in little bit descriptive.
I have Model class Account with different 25 attributes, and i can store the data of lets say 5000 Accounts on ArrayList. Same way I can hold the data on In Memory Database by creating the table t_Account. Now I want to implement some basic operations as mentioned below
Sorting in ascending/descending order based on each attribute. (e.g. Order By operation of SQL)
Filtering out the specific Model Accounts based on different filter criteria of each attribute? (applying WHERE/AND conditions on table in SQL)
Search of specific Account based on specific attribute? ( applying LIKE operations on table in SQL)
In short my main aim is to achieve the In Memory Database related features using Java, which should be as good as In Memory database operations?
Thanks in advance for your valuable time and suggestion...