hashCode

open override fun hashCode(): Int(source)

Returns a hash code value for the object.

The hash code is calculated based on the goalCode, goal, and accept properties. If the goalCode is not null, its hash code value is added to the result. If the goal is not null, its hash code value is multiplied by 31 and added to the result. If the accept array is not null, its content hash code value is multiplied by 31 and added to the result.

Return

The hash code value for the object.