You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
current implementation of Value's hashCode is: public int hashCode() { return value; }
but this will result in Value.makeConstant(0).hashCode() equals Value.getNAC().hashCode() and Value.getUndef().hashCode()
and thus a hashCode of CPFact's instance may not changed when a Value changed.
an optional implementation public int hashCode() { return toString().hashCode(); }
The text was updated successfully, but these errors were encountered:
current implementation of Value's hashCode is:
public int hashCode() { return value; }
but this will result in
Value.makeConstant(0).hashCode()
equalsValue.getNAC().hashCode()
andValue.getUndef().hashCode()
and thus a hashCode of CPFact's instance may not changed when a
Value
changed.an optional implementation
public int hashCode() { return toString().hashCode(); }
The text was updated successfully, but these errors were encountered: