1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

data structure CompositeMap

Discussion in 'Java' started by gatekeeper, May 9, 2009.

  1. gatekeeper

    gatekeeper New Member

    May 9, 2009
    Likes Received:
    Trophy Points:
    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?

Share This Page