Just a tip...
You can extend maps much like you extend an object in javascript. Deluge Script does a great job of overwriting map members when you redeclare a put! Old pairs stay the same new pairs get added. Thanks DS dev team for making this an overwrite method rather than having to remove the key first. :)
- map private.editRecordMap(map recordMap, map editMap)
- {
- editKeys = editMap.keys();
- for each key in editKeys
- {
- recordMap.put(key,editMap.get(key));
- }
- return recordMap;
- }