public override bool Equals(object obj)
{
if (this == obj)
return true;
if (!base.Equals(obj))
return false;
if (GetType() != obj.GetType())
return false;
SlowFuzzyQuery other = (SlowFuzzyQuery)obj;
if (Number.FloatToIntBits(minimumSimilarity) != Number
.FloatToIntBits(other.minimumSimilarity))
return false;
if (prefixLength != other.prefixLength)
return false;
if (term == null)
{
if (other.term != null)
return false;
}
else if (!term.Equals(other.term))
return false;
return true;
}
}