data structure CompositeMap

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

  1. gatekeeper

    gatekeeper New Member

    Joined:
    May 9, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice