/** * @return Integer */ public function getValue() : IComparable { return parent::getValue(); }
/** * A degenerate interval is any set consisting of a single element. * * @return bool */ public function isDegenerate() : bool { return $this->isClosed() && $this->left->isEqual($this->right); }