What I want to achieve ?
I want to store the following table in Java (in-memory) for further processing..!
List : sorted list of string a,b,c,..
e.g
- a = "Apple"
- b = "Lemon"
- c = "Orange"
Length : length of List[a,b,c,..]
Frequency : number of times the List[a,b,c..] is in the database
Is there any default data-structure available in Java to store this type of data?
If not,
What is an efficient way to store this type of data in Java ?
Thanks..!
edit 1 :- The data structure have following requirements :-
getter(List l1), setter(List l1), delete(List l1)
E.g:
during the time of insertion of data from xlsx sheet
- if List l1[a,b,c, ..] of length 'n' already present, then increase its frequency by 1
- else, add it to the map at appropriate location with frequency 1.

for further processingfor what processing?