/**
  * @return Integer
  */
 public function getValue() : IComparable
 {
     return parent::getValue();
 }
Example #2
0
 /**
  * @return bool
  */
 public function isEmpty() : bool
 {
     return $this->isLeftOpened() && $this->left->getValue()->isEqual($this->right->getValue());
 }