示例#1
0
        public int CompareTo(ErlLink other)
        {
            int n = Node.CompareTo(other.Node);

            if (n != 0)
            {
                return(n);
            }
            return(Pid.CompareTo(other.Pid));
        }
示例#2
0
        public int CompareTo(ErlLink other)
        {
            var n = Node.CompareTo(other.Node);

            return(n != 0 ? n : Pid.CompareTo(other.Pid));
        }