Exemplo n.º 1
0
        public int CompareTo(Number320 other)
        {
            int diff = LocationKey.CompareTo(other.LocationKey);

            if (diff != 0)
            {
                return(diff);
            }
            return(DomainKey.CompareTo(other.DomainKey));
        }
Exemplo n.º 2
0
        public int CompareTo(Number480 other)
        {
            int diff = LocationKey.CompareTo(other.LocationKey);

            if (diff != 0)
            {
                return(diff);
            }
            diff = DomainKey.CompareTo(other.DomainKey);
            if (diff != 0)
            {
                return(diff);
            }
            return(ContentKey.CompareTo(other.ContentKey));
        }