public function compare(Type $left, Type $right)
    {
        return
            $right->accept(new TypeEquivalenceComparatorVisitor($this, $left));
    }
public function compare(Type $left, Type $right)
    {
        return
            $right->accept(new TypeEquivalenceComparatorVisitor($this, $left));
    }
public function compare ( Type $ left , Type $ right ) { return $ right -> accept ( new TypeEquivalenceComparatorVisitor ( $ this , $ left ) ) ; }
Compare the supplied types for equivalence.

@param Type $left  The left-hand type.
@param Type $right The right-hand type.

@return integer The comparison result.
Compare the supplied types for equivalence .