This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I want to know what data structure to use in this case:
I have three values Type, Code and message. The combination of type, code is unique. I cannot use maps here, i realised.
The values of Type, Code and Message can be as follows <0200, 011, M1><0210, 011, M2> <0200, 033, M3> <0210, 033, M4>
Each time I want to retrieve the Messages using the values of both Type and Code.