Пример #1
0
        public int CompareTo(Allomorph other)
        {
            if (other == null)
            {
                return(1);
            }

            int res = Morpheme.GetHashCode().CompareTo(other.Morpheme.GetHashCode());

            if (res != 0)
            {
                return(res);
            }

            return(Index.CompareTo(other.Index));
        }