@ Override public void setParameters ( Object [ ] params ) throws CDKException { if ( params . length > 1 ) { throw new CDKException ( "DistanceToAtomDescriptor only expects two parameters" ) ; } if ( ! ( params [ 0 ] instanceof Integer ) ) { throw new CDKException ( "The parameter must be of type Integer" ) ; } focusPosition = ( Integer ) params [ 0 ] ; }
Sets the parameters attribute of the DistanceToAtomDescriptor object