public void setLambda ( double lambda ) { if ( Double . isNaN ( lambda ) || lambda <= 0 || Double . isInfinite ( lambda ) ) throw new IllegalArgumentException ( "lambda must be positive, not " + lambda ) ; this . lambda = lambda ; }
Sets the average rate of the event occurring in a unit of time