AIMA.Core.Logic.FOL.Parsing.AST.TermEquality.GetHashCode C# (CSharp) 메소드

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int
        public override int GetHashCode()
        {
            
            if (0 == hashCode)
            {
                hashCode = 17;
                hashCode = 37 * hashCode + getTerm1().GetHashCode();
                hashCode = 37 * hashCode + getTerm2().GetHashCode();
            }
            return hashCode;
        }