The hash code for a Pointer only depends on its address.
int get hashCode { return address.hashCode; }