public boolean equals(Object obj) {if (this == obj)return true;if (!super.equals(obj))return false;if (getClass() != obj.getClass())return false;FuzzyQuery other = (FuzzyQuery) obj;if (maxEdits != other.maxEdits)return false;if (prefixLength != other.prefixLength)return false;if (maxExpansions != other.maxExpansions)return false;if (transpositions != other.transpositions)return false;if (term == null) {if (other.term != null)return false;} else if (!term.equals(other.term))return false;return true;}
public override bool Equals(object obj){if (this == obj){return true;}if (!base.Equals(obj)){return false;}if (this.GetType() != obj.GetType()){return false;}FuzzyQuery other = (FuzzyQuery)obj;if (maxEdits != other.maxEdits){return false;}if (prefixLength != other.prefixLength){return false;}if (maxExpansions != other.maxExpansions){return false;}if (transpositions != other.transpositions){return false;}if (term == null){if (other.term != null){return false;}}else if (!term.Equals(other.term)){return false;}return true;}