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); }