boolean (final Object o) { if (o == this) return true; if (!(o instanceof EqualsAndHashCodeOf)) return false; final EqualsAndHashCodeOf other = (EqualsAndHashCodeOf) o; if (this.x != other.x) return false; return true; }