Lines Matching defs:equivalence
21 private $equivalence;
23 public function __construct(?Equivalence $equivalence = null)
25 $this->equivalence = $equivalence ?? new DefaultEquivalence();
35 $hash = $this->equivalence->hash($key);
42 if ($this->equivalence->equivalent($key, $entryKey)) {
55 $hash = $this->equivalence->hash($key);
62 if ($this->equivalence->equivalent($key, $entryKey)) {
75 $hash = $this->equivalence->hash($key);
82 if ($this->equivalence->equivalent($key, $entryKey)) {
96 $hash = $this->equivalence->hash($key);
103 if (!$this->equivalence->equivalent($key, $entryKey)) {
127 || !$this->equivalence->equals($other->equivalence)) {
141 if (!$this->equivalence->equivalent($key, $otherKey)