protected function intersectExistsImpl(ValueGreaterThan $c1, ValueGreaterThan $c2) { if (!$c1->isNegated() && $c2->isNegated()) { return $c2->getMustBeGreaterThanValue() > $c1->getMustBeGreaterThanValue(); } elseif ($c1->isNegated() && !$c2->isNegated()) { return $c1->getMustBeGreaterThanValue() > $c2->getMustBeGreaterThanValue(); } return true; }
protected function equalImpl(ValueGreaterThan $c1, ValueGreaterThan $c2) { return $c1->isNegated() === $c2->isNegated() && (double) $c1->getMustBeGreaterThanValue() === (double) $c2->getMustBeGreaterThanValue(); }