コード例 #1
0
 /**
  * @return Integer
  */
 public function getValue() : IComparable
 {
     return parent::getValue();
 }
コード例 #2
0
ファイル: Interval.php プロジェクト: achse/php-math-interval
 /**
  * @return bool
  */
 public function isEmpty() : bool
 {
     return $this->isLeftOpened() && $this->left->getValue()->isEqual($this->right->getValue());
 }