AIMA.Probability.Domain.FiniteIntegerDomain.equals C# (CSharp) Метод

equals() публичный Метод

public equals ( Object o ) : bool
o Object
Результат bool
        public bool equals(Object o)
        {

            if (this == o)
            {
                return true;
            }
            if (!(o
            is FiniteIntegerDomain))
            {
                return false;
            }

            FiniteIntegerDomain other = (FiniteIntegerDomain) o;

            return this.possibleValues.Equals(other.possibleValues);
        }