コード例 #1
0
 /**
  * @return Integer
  */
 public function getValue() : IComparable
 {
     return parent::getValue();
 }
コード例 #2
0
ファイル: Interval.php プロジェクト: achse/php-math-interval
 /**
  * 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);
 }