First map is default options [a: true, b: false]
. Second map - options passed by user [a:false]
. Does Groovy has maps merge method to obtain [a: false, b:false]
?
It's not problem to implement it in Groovy. I'm asking about method out of the box
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…