@ Override public void setParameters ( Object [ ] params ) throws CDKException { if ( params . length > 3 ) throw new CDKException ( "PartialPiChargeDescriptor only expects three parameter" ) ; if ( ! ( params [ 0 ] instanceof Integer ) ) throw new CDKException ( "The parameter must be of type Integer" ) ; maxIterations = ( Integer ) params [ 0 ] ; if ( params . length > 1 && params [ 1 ] != null ) { if ( ! ( params [ 1 ] instanceof Boolean ) ) throw new CDKException ( "The parameter must be of type Boolean" ) ; lpeChecker = ( Boolean ) params [ 1 ] ; } if ( params . length > 2 && params [ 2 ] != null ) { if ( ! ( params [ 2 ] instanceof Integer ) ) throw new CDKException ( "The parameter must be of type Integer" ) ; maxResonStruc = ( Integer ) params [ 2 ] ; } }
Sets the parameters attribute of the PiElectronegativityDescriptor object