boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Real<?> real = (Real<?>)o; if (!myElement.equals(real.myElement)) return false; return true; }