@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + ((regexImpl == null) ? 0 : regexImpl.hashCode()); result = prime * result + ((term == null) ? 0 : term.hashCode()); return result; }
@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + maxEdits; result = prime * result + prefixLength; result = prime * result + maxExpansions; result = prime * result + (transpositions ? 0 : 1); result = prime * result + ((term == null) ? 0 : term.hashCode()); return result; }
/** Returns a hash code value for this object. */ public int hashCode() { return Float.floatToIntBits(getBoost()) ^ term.hashCode(); }