You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by An...@arm.com on 2003/02/24 18:45:43 UTC

Map Union

hi,

 is there any API like

      Map myUnion = Map.union(mapA, mapB)

that returns a map that contains as its keySet the disjoint union of the
keysets of mapA and mapB, mapping to the values that the key originally
mapped to under A or B. (with either undefined behaviour for common keys or
throwing an exception)?

thanks,
Andrew