示例#1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            if (this == obj)
            {
                return(true);
            }
            if (GetType() != obj.GetType())
            {
                return(false);
            }
            SimpleFilteredSentenceBreakIterator other = (SimpleFilteredSentenceBreakIterator)obj;

            return(@delegate.Equals(other.@delegate) && text.Equals(other.text) && backwardsTrie.Equals(other.backwardsTrie) &&
                   forwardsPartialTrie.Equals(other.forwardsPartialTrie));
        }