Possible Duplicate:
How to implement a Map with multiple keys?
Imagine a table with columns K1, K2 and D. I may need to search data by keys K1 or K2 or both. Is there any 'standard' solution in Java for this apart from creating several maps keeping references?