/**
  * Class constructor
  *
  * @param array $nodeCollection Node collection parameter.
  */
 public function __construct(array $nodeCollection = [])
 {
     parent::__construct();
     if (count($nodeCollection) > 0) {
         $this->setNodes($nodeCollection);
     }
 }
 /**
  * Class constructor.
  *
  * @param array $commands Command array collection data parameter.
  */
 public function __construct(array $commands = [])
 {
     parent::__construct();
     if (count($commands) > 0) {
         $this->setCommands($commands);
     }
 }
 /**
  * Class constructor.
  *
  * @param string  $inputString  Input string parameter.
  * @param boolean $useCodeTable Use code table option flag parameter.
  */
 public function __construct($inputString = '', $useCodeTable = true)
 {
     parent::__construct();
     $this->setInputString($inputString);
     $this->setUseCodeTable($useCodeTable);
     if ($this->isUseCodeTable() === true) {
         static::getCodeTable();
     }
 }
 /**
  * Class constructor.
  *
  * @param string  $inputString Input string parameter.
  * @param integer $leftRotate  Left rotate number parameter.
  * @param integer $rightRotate Right rotate number parameter.
  *
  * @throws \RuntimeException If any error raised.
  */
 public function __construct($inputString = '', $leftRotate = 1, $rightRotate = 1)
 {
     try {
         parent::__construct();
         $this->setInputString($inputString);
         $this->setLeftRotate($leftRotate);
         $this->setRightRotate($rightRotate);
     } catch (\RuntimeException $e) {
         $this->setError($e->getMessage());
     }
 }
 /**
  * Class constructor.
  *
  * @param integer $endNumber End number parameter.
  * @param integer $step      Step decrement number parameter.
  */
 public function __construct($endNumber = 10, $step = 3)
 {
     try {
         parent::__construct();
         $this->setStartNumber();
         $this->setEndNumber($endNumber);
         $this->setStep($step);
     } catch (\RuntimeException $e) {
         $this->setError($e->getMessage());
     }
 }
 /**
  * Class constructor
  *
  * @param float   $interestRate   The interest rate parameter.
  * @param integer $periodLength   The period length parameter.
  * @param float   $initialBalance The initial balance parameter.
  */
 public function __construct($interestRate = 12.0, $periodLength = 12, $initialBalance = 1000000.0)
 {
     try {
         parent::__construct();
         $this->setInterestRate($interestRate);
         $this->setPeriodLength($periodLength);
         $this->setInitialBalance($initialBalance);
     } catch (\RuntimeException $e) {
         $this->setError($e->getMessage());
     }
 }
 /**
  * Class constructor.
  *
  * @param float $lowerLimit Lower limit degree number parameter.
  * @param float $upperLimit Upper limit degree number parameter.
  */
 public function __construct($lowerLimit = 0.0, $upperLimit = 90.0)
 {
     parent::__construct();
     $this->setLowerLimit($lowerLimit);
     $this->setUpperLimit($upperLimit);
 }