boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; HardPointerEq<?> pointer = (HardPointerEq<?>)o; return Objects.equals(myValue, pointer.myValue); }