Range: equals, hashCode and toString