Lucene.Net.Search.TermQuery.Equals C# (CSharp) Method

Equals() public method

Returns true iff o is equal to this.
public Equals ( object o ) : bool
o object
return bool
        public override bool Equals(object o)
        {
            if (!(o is TermQuery))
            {
                return false;
            }
            TermQuery other = (TermQuery)o;
            return (this.Boost == other.Boost) && this.Term_Renamed.Equals(other.Term_Renamed);
        }