public override int GetHashCode() { int hash = 1; hash ^= CategoricalFeatures.GetHashCode(); hash ^= NumericalFeatures.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public bool Equals(FeatureMap other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(other, this)) { return(true); } if (!CategoricalFeatures.Equals(other.CategoricalFeatures)) { return(false); } if (!NumericalFeatures.Equals(other.NumericalFeatures)) { return(false); } return(Equals(_unknownFields, other._unknownFields)); }