Equality

We’ve decided to make our HtmlCoordinate class into a value object, which means we need to take care of the tedious but necessary equals() method. There’s a bit of trickiness when it comes to comparing DOM elements, but we get through it without any trouble.

comments powered by Disqus