public void setParams(String params) {super.setParams(params);maxNumSegments = (int)Double.parseDouble(params);}

public void setParams ( String params ) { super . setParams ( params ) ; maxNumSegments = ( int ) Double . parseDouble ( params ) ; }
public override void SetParams(string @params){base.SetParams(@params);maxNumSegments = (int)double.Parse(@params, CultureInfo.InvariantCulture);}
