Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   data structure CompositeMap (http://www.go4expert.com/forums/data-structure-compositemap-t17441/)

gatekeeper 9May2009 20:49

data structure CompositeMap
 
DataMap is a class structure that maps a single key to multiple values.

I'm supposed to design a class structure called JoinMap which keeps a pair of keys of two DataMaps.

As far as I understood, a JoinMap is meant to join data from two DataMaps into a single view. It somehow reminds of the CompositeMap class structure available in the Jakarta Apache Commons Collections.

Any idea how I should implement this ? Does anyone how a CompositeMap actually works?


All times are GMT +5.5. The time now is 18:11.