I want to have a small data structure which resembles a relational db table with 3 columns. In fact, it's like a matrix where I want to select the value from the third column when the first two match e.g.
Edit: formatted
Michael John 1 Michael Jeremy 3 Jeremy John 4
and I want to select 3 when the the names of the two persons (according to the data selected) is
Michael and Jeremy.
I do not want to keep it in the DBMS since the data is two small (between (between 20 - 30 rows), but I do want to keep it configurable to allow for modifications - as such I am avoiding to use a Java data structure such as Map / list
I am using Spring Framework.
Any suggestions?