public Parameters override ( Parameters parameters , boolean recursive ) { Parameters result = new Parameters ( ) ; if ( recursive ) { RecursiveObjectWriter . copyProperties ( result , this ) ; RecursiveObjectWriter . copyProperties ( result , parameters ) ; } else { ObjectWriter . setProperties ( result , this ) ; ObjectWriter . setProperties ( result , parameters ) ; } return result ; }
Overrides parameters with new values from specified Parameters and returns a new Parameters object .