最佳答案
第一个映射是默认选项 [a: true, b: false]。第二个 map-用户 [a:false]传递的选项。Groovy 是否有映射合并方法来获得 [a: false, b:false]?
在 Groovy 中实现它不是问题