/**
  * @return Integer
  */
 public function getValue() : IComparable
 {
     return parent::getValue();
 }
Esempio n. 2
0
 /**
  * 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);
 }