示例#1
0
        public override int GetHashCode()
        {
            var hash = 17;

            hash = hash * 23 + Cutoff.GetHashCode();
            hash = hash * 23 + AMTMatches.GetHashCode();
            hash = hash * 23 + FDR.GetHashCode();
            hash = hash * 23 + m_label.GetHashCode();
            return(hash);
        }
示例#2
0
        public override bool Equals(object obj)
        {
            var stacFDR = obj as STACFDR;

            if (stacFDR == null)
            {
                return(false);
            }
            if (!Cutoff.Equals(stacFDR.Cutoff))
            {
                return(false);
            }
            if (!AMTMatches.Equals(stacFDR.AMTMatches))
            {
                return(false);
            }
            if (!FDR.Equals(stacFDR.FDR))
            {
                return(false);
            }
            return(ConformationMatches.Equals(stacFDR.ConformationMatches));
        }