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