Subj : Re: Multi-dimensional data structure To : comp.programming From : Adi Date : Wed Oct 12 2005 04:59 am You're right and I have thought about it. There exists a java implementation called MultikeyMap http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_1/org/apache/commons/collections/map/MultiKeyMap.html It's not a perfect solution because I now need to ensure that my keys are sortable not to mention the additional (albeit small) overhead of sorting everytime i call get or put. I was interested in a more elegant solution than that, if one exists. Adi .