commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Andrew.Fergu...@arm.com>
Subject Map Union
Date Mon, 24 Feb 2003 17:45:43 GMT

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




Mime
View raw message