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

Equals() public method

Returns true iff o is equal to this.
public Equals ( System o ) : bool
o System
return bool
		public  override bool Equals(System.Object o)
		{
			if (!(o is PhraseQuery))
				return false;
			PhraseQuery other = (PhraseQuery) o;
			return (this.Boost == other.Boost) && (this.slop == other.slop) && this.terms.Equals(other.terms) && this.positions.Equals(other.positions);
		}